Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RequestGame
Syntax
C++
int RequestGame(IFunctionHandler * pH, ScriptHandle playerIdHandle, ScriptHandle opponentIdHandle, ScriptHandle boardIdHandle);
Parameters 
Description 
playerId 
entity id of player who requests the game 
opponentId 
entity id of opponent who should accept the request 
boardId 
entity id of board used for the game 

Syntax: Backgammon.RequestGame(EntityId playerId, EntityId opponentId, EntityId boardId) 

Player requests new game with an opponent. 

 

Copyright (c) 2012. All rights reserved.