Developer Documentation

OdinClient

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

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