SDK Overview
The SDK sources live in the developer kit sdk/ tree; the public C/C++ headers live in the engine include/. What ships in the developer server package is described in Server Packages.
SDK layout
| Path | Purpose |
|---|---|
sdk/Varion.SDK | C# server SDK (Varion.SDK.csproj) |
sdk/Varion.SDK.Client | C# client SDK |
sdk/Varion.Server | Server JavaScript package (npm/@varion/server) |
sdk/Varion.Client | Client JavaScript package (npm/@varion/client) + native typings |
sdk/varion-go | Go host package (go.mod) |
sdk/contract | Shared event/contract files (contract.js, contract.go) |
sdk/templates | Resource templates |
sdk/varion-module-sample | Native C++ module sample |
include/ (engine) | Public C/C++ headers |
C#
Server resources reference sdk/Varion.SDK/Varion.SDK.csproj (client C# uses sdk/Varion.SDK.Client). The SDK exposes Varion, IPlayer, IVehicle, entities, world visuals, metadata, events and RPC. See C#.
JavaScript
Server JS uses the @varion/server package and the varion object; the Node host ships with the server (see Server Packages). Client JS uses the runtime-injected varion object and the @varion/client typings. See JavaScript, Client JS API.
Go
Go resources use sdk/varion-go and the ABI from include/varion_go_host.h. See Go.
C++ Modules
Native modules use the loader C ABI (varion_module.h); the sample is sdk/varion-module-sample. See Module SDK.
Source Backing
This page is derived from the developer kit sdk/ tree, the engine headers in include/, and the per-language SDK docs (cs/, js/, go/).