Package | com.smartfoxserver.v2.requests |
Class | public class RoomEvents |
Inheritance | RoomEvents Object |
See also
Property | Defined By | ||
---|---|---|---|
allowUserCountChange : Boolean
Indicates whether or not the userCountChange event should be dispatched whenever the users (or players+spectators) count changes in the Room. | RoomEvents | ||
allowUserEnter : Boolean
Indicates whether the userEnterRoom event should be dispatched whenever a user joins the Room or not. | RoomEvents | ||
allowUserExit : Boolean
Indicates whether the userExitRoom event should be dispatched whenever a user leaves the Room or not. | RoomEvents | ||
allowUserVariablesUpdate : Boolean
Indicates whether or not the userVariablesUpdate event should be dispatched whenever a user in the Room updates his User Variables. | RoomEvents |
Method | Defined By | ||
---|---|---|---|
Creates a new RoomEvents instance. | RoomEvents |
allowUserCountChange | property |
allowUserCountChange:Boolean
Indicates whether or not the userCountChange event should be dispatched whenever the users (or players+spectators) count changes in the Room.
The default value is false
.
public function get allowUserCountChange():Boolean
public function set allowUserCountChange(value:Boolean):void
See also
allowUserEnter | property |
allowUserEnter:Boolean
Indicates whether the userEnterRoom event should be dispatched whenever a user joins the Room or not.
The default value is false
.
public function get allowUserEnter():Boolean
public function set allowUserEnter(value:Boolean):void
See also
allowUserExit | property |
allowUserExit:Boolean
Indicates whether the userExitRoom event should be dispatched whenever a user leaves the Room or not.
The default value is false
.
public function get allowUserExit():Boolean
public function set allowUserExit(value:Boolean):void
See also
allowUserVariablesUpdate | property |
allowUserVariablesUpdate:Boolean
Indicates whether or not the userVariablesUpdate event should be dispatched whenever a user in the Room updates his User Variables.
The default value is false
.
public function get allowUserVariablesUpdate():Boolean
public function set allowUserVariablesUpdate(value:Boolean):void
See also
RoomEvents | () | Constructor |
public function RoomEvents()
Creates a new RoomEvents instance. The RoomSettings.events property must be set to this instance during Room creation.
See also