Returns the playerId value of this user in the passed Room.

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
int GetPlayerId(
	Room room
)

Parameters

room
Type: Sfs2X.Entities..::..Room
The object representing the Room to retrieve the player id from.

Return Value

Type: Int32
The player id of this user in the passed Room.

Remarks

See the PlayerId property description for more informations.

See Also