Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinClient

public class OdinClient : IDisposable

Client Wrapper for ODIN ffi OdinLibrary

Properties

NameTypeDescription
RoomsRoomCollectionA collection of all Room
EndPointUriConnection EndPoint. Default from OdinEditorConfig.
AccessKeyStringClient AccessKey for all new rooms. Default from OdinHandler config.
UserDataIUserDataClient custom UserData

Public Methods

NameDescription
JoinRoomJoin or create a Room by name via a gateway
JoinNamedRoomJoin or create a named Room by token via a gateway
UpdateUserDataUpdates the Rooms for the current peer
SetPositionScaleUpdates the Rooms
UpdatePositionUpdates the Rooms
LeaveRoomLeave a joined Room
CloseCompletly closes this Client and all Room associated.
DisposeOn dispose will free all NativeMethods