Skip to content

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

PathPurpose
sdk/Varion.SDKC# server SDK (Varion.SDK.csproj)
sdk/Varion.SDK.ClientC# client SDK
sdk/Varion.ServerServer JavaScript package (npm/@varion/server)
sdk/Varion.ClientClient JavaScript package (npm/@varion/client) + native typings
sdk/varion-goGo host package (go.mod)
sdk/contractShared event/contract files (contract.js, contract.go)
sdk/templatesResource templates
sdk/varion-module-sampleNative 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/).

Varion Multiplayer Platform