Indicates whether this user is a spectator (playerId lower than 0) in the passed Room or not.Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 220.127.116.11 (1.7.0)
bool IsSpectatorInRoom( Room room )
- Type: Sfs2X.Entities..::..Room
The object representing the Room where to check if this user is a spectator.
true if this user is a spectator in the passed Room.
Non-Game Rooms always return false. If a user can join one Game Room at a time only, use the IsSpectator property.