Our new developer documentation is now available. Please check it out!
OdinClient
public class OdinClient : IDisposable
Client Wrapper for ODIN ffi OdinLibrary
Properties
Name | Type | Description |
---|---|---|
Rooms | RoomCollection | A collection of all Room |
EndPoint | Uri | Connection EndPoint. Default from OdinEditorConfig. |
AccessKey | String | Client AccessKey for all new rooms. Default from OdinHandler config. |
UserData | IUserData | Client custom UserData |
Public Methods
Name | Description |
---|---|
JoinRoom | Join or create a Room by name via a gateway |
JoinNamedRoom | Join or create a named Room by token via a gateway |
UpdateUserData | Updates the Rooms for the current peer |
SetPositionScale | Updates the Rooms |
UpdatePosition | Updates the Rooms |
LeaveRoom | Leave a joined Room |
Close | Completly closes this Client and all Room associated. |
Dispose | On dispose will free all NativeMethods |