SmartFox Properties |
The SmartFox type exposes the following members.
| Name | Description | |
|---|---|---|
| BuddyManager |
Returns a reference to the Buddy Manager.
| |
| CompressionThreshold |
Returns the current compression threshold.
| |
| Config |
Returns the client configuration details.
| |
| ConnectionMode |
Returns the current connection mode after a connection has been successfully established.
| |
| CurrentIp |
Returns the IP address or domain name of the SmartFoxServer 2X instance to which the client is connected.
| |
| CurrentPort |
Returns the TCP port of the SmartFoxServer 2X instance to which the client is connected.
| |
| CurrentZone |
Returns the Zone currently in use, if the user is already logged in.
| |
| Debug |
Indicates whether the client-server messages debug is enabled or not.
| |
| HttpUploadURI |
Returns the HTTP URI that can be used to upload files to SmartFoxServer 2X, using regular HTTP POST.
| |
| IsConnected |
Indicates whether the client is connected to the server or not.
| |
| JoinedRooms |
Returns a list of Room objects representing the Rooms currently joined by the client.
| |
| LastJoinedRoom |
Returns the object representing the last Room joined by the client, if any.
| |
| Logger |
Returns a reference to the internal Logger instance used by SmartFoxServer 2X.
| |
| MaxMessageSize |
Returns the maximum size of messages allowed by the server.
| |
| MySelf |
Returns the User object representing the client when connected to a SmartFoxServer 2X instance.
| |
| NodeId | [CLUSTER] The identifier of the cluster node which the current SmartFox instance is connected to. If the instance is not connected, a null value is returned;
| |
| RoomList |
Returns a list of Room objects representing the Rooms currently "watched" by the client.
| |
| RoomManager |
Returns a reference to the Room Manager.
| |
| SessionToken |
Returns the unique session token of the client.
| |
| ThreadSafeMode |
Sets the API to run with an event queue that needs to be processed by the client.
| |
| UdpAvailable |
Indicates whether the UPD protocol is available or not in the current runtime.
| |
| UdpInited |
Indicates whether the UDP handshake has been performed successfully or not.
| |
| UserManager |
Returns a reference to the User Manager.
| |
| Version |
Returns the current version of the SmartFoxServer 2X C# API.
|