Click or drag to resize

SFSUserGetPlayerId Method

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

Namespace:  Sfs2X.Entities
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public int GetPlayerId(
	Room room
)

Parameters

room
Type: Sfs2X.EntitiesRoom
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

UserGetPlayerId(Room)
Remarks
See the PlayerId property description for more informations.
See Also