class
ClusterTarget
The identifier of a Room on a Game Node in a SmartFoxServer 2X Cluster.
new ClusterTarget(nodeId, roomId)
Creates a new ClusterTarget instance.
The instance must be passed as target parameter to the ClusterInviteUsersRequest class constructor.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
nodeId |
|
|
The identifier of the Game Node where the Room is located. |
roomId |
|
|
The identifier of the Room on the Game Node. |
Properties
read-only
nodeId string
Indicates the identifier of the Game Node where the Room is located.
- See also
- SmartFox#nodeId
read-only
roomId number
Indicates the identifier of the Room on the Game Node.
- See also
- SFSRoom#id