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
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 |