コード例 #1
0
def GetCurrentGameType():
    "returns which game type (if any) is currently played"
    gameData = xMarkerGameManager.chronicleMarkerGameData()
    return gameData.data['svrGameTypeID']
コード例 #2
0
def GetCurrentCGZGame():
    "return which game (if any) is playing now"
    gameData = xMarkerGameManager.chronicleMarkerGameData()
    return gameData.data['CGZGameNum']
コード例 #3
0
def GetGameProgress():
    "returns the game number, number of captured markers, and number of markers for the currently played game"
    gameData = xMarkerGameManager.chronicleMarkerGameData()
    return gameData.data['CGZGameNum'], gameData.data[
        'numCapturedMarkers'], gameData.data['numMarkers']
コード例 #4
0
def GetCurrentGameType():
    "returns which game type (if any) is currently played"
    gameData = xMarkerGameManager.chronicleMarkerGameData()
    return gameData.data['svrGameTypeID']
コード例 #5
0
def GetCurrentCGZGame():
    "return which game (if any) is playing now"
    gameData = xMarkerGameManager.chronicleMarkerGameData()
    return gameData.data['CGZGameNum']
コード例 #6
0
def GetGameProgress():
    "returns the game number, number of captured markers, and number of markers for the currently played game"
    gameData = xMarkerGameManager.chronicleMarkerGameData()
    return gameData.data['CGZGameNum'], gameData.data['numCapturedMarkers'], gameData.data['numMarkers']