Class CreateSFSGame
- java.lang.Object
-
- com.smartfoxserver.v2.controllers.BaseControllerCommand
-
- com.smartfoxserver.v2.controllers.system.game.CreateSFSGame
-
- All Implemented Interfaces:
com.smartfoxserver.v2.controllers.IControllerCommand
public class CreateSFSGame extends com.smartfoxserver.v2.controllers.BaseControllerCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_INVITATION_EXPIRYstatic java.lang.StringKEY_INVITATION_PARAMSstatic java.lang.StringKEY_INVITED_PLAYERSstatic java.lang.StringKEY_IS_PUBLICstatic java.lang.StringKEY_LEAVE_ROOMstatic java.lang.StringKEY_MIN_PLAYERSstatic java.lang.StringKEY_NOTIFY_GAME_STARTEDstatic java.lang.StringKEY_PLAYER_MATCH_EXPstatic java.lang.StringKEY_SEARCHABLE_ROOMSstatic java.lang.StringKEY_SPECTATOR_MATCH_EXP
-
Constructor Summary
Constructors Constructor Description CreateSFSGame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(com.smartfoxserver.bitswarm.io.IRequest request)booleanvalidate(com.smartfoxserver.bitswarm.io.IRequest request)
-
-
-
Field Detail
-
KEY_IS_PUBLIC
public static final java.lang.String KEY_IS_PUBLIC
- See Also:
- Constant Field Values
-
KEY_MIN_PLAYERS
public static final java.lang.String KEY_MIN_PLAYERS
- See Also:
- Constant Field Values
-
KEY_INVITED_PLAYERS
public static final java.lang.String KEY_INVITED_PLAYERS
- See Also:
- Constant Field Values
-
KEY_SEARCHABLE_ROOMS
public static final java.lang.String KEY_SEARCHABLE_ROOMS
- See Also:
- Constant Field Values
-
KEY_PLAYER_MATCH_EXP
public static final java.lang.String KEY_PLAYER_MATCH_EXP
- See Also:
- Constant Field Values
-
KEY_SPECTATOR_MATCH_EXP
public static final java.lang.String KEY_SPECTATOR_MATCH_EXP
- See Also:
- Constant Field Values
-
KEY_INVITATION_EXPIRY
public static final java.lang.String KEY_INVITATION_EXPIRY
- See Also:
- Constant Field Values
-
KEY_LEAVE_ROOM
public static final java.lang.String KEY_LEAVE_ROOM
- See Also:
- Constant Field Values
-
KEY_NOTIFY_GAME_STARTED
public static final java.lang.String KEY_NOTIFY_GAME_STARTED
- See Also:
- Constant Field Values
-
KEY_INVITATION_PARAMS
public static final java.lang.String KEY_INVITATION_PARAMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public boolean validate(com.smartfoxserver.bitswarm.io.IRequest request) throws SFSRequestValidationException- Throws:
SFSRequestValidationException
-
execute
public void execute(com.smartfoxserver.bitswarm.io.IRequest request) throws java.lang.Exception- Throws:
java.lang.Exception
-
-