Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

librg/librg-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

librg-csharp

C# bindings for librg.

State

Still under heavy contruction.

Example

var ctx = new Librg(Mode.Client, 32, Vector3.one * 5000.0f, 50000);

Debug.Log(ctx.IsClient());

ctx.EventAdd(124, (librg.Event z) => {
    Debug.Log(z.data);
});

ctx.EventTrigger(124, new librg.Event(228));

var foo = new Data();

foo.WriteUInt32(15);
foo.WriteFloat32(99.2424f);

ctx.NetworkStart("localhost", 7777);

while (true) {
    ctx.Tick();
}

Releases

No releases published

Packages

No packages published

Languages