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

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public 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.

Implements

User..::..GetPlayerId(Room)

Remarks

See the PlayerId property description for more informations.

See Also