|
TowerVR
1.0
|
Static Public Member Functions | |
| static bool | IsValid (byte potentialEventCode) |
Public Attributes | |
| const byte | PlayerReady = 1 |
| const byte | TryStartGame = 2 |
| const byte | GameStateChanged = 3 |
| const byte | TurnStateChanged = 4 |
| const byte | TowerStateChanged = 5 |
| const byte | NextPlayer = 6 |
| const byte | ScoreChanged = 7 |
| const byte | PlayerLost = 8 |
| const byte | PlayerWon = 9 |
| const byte | SelectTowerPiece = 10 |
| const byte | PlaceTowerPiece = 11 |
Constant class containing event codes. The Photon API specifies the event codes as bytes within the [0, 199] range.
|
static |
| const byte TowerVR.NetworkEventCodes.GameStateChanged = 3 |
| const byte TowerVR.NetworkEventCodes.NextPlayer = 6 |
| const byte TowerVR.NetworkEventCodes.PlaceTowerPiece = 11 |
| const byte TowerVR.NetworkEventCodes.PlayerLost = 8 |
| const byte TowerVR.NetworkEventCodes.PlayerReady = 1 |
| const byte TowerVR.NetworkEventCodes.PlayerWon = 9 |
| const byte TowerVR.NetworkEventCodes.ScoreChanged = 7 |
| const byte TowerVR.NetworkEventCodes.SelectTowerPiece = 10 |
| const byte TowerVR.NetworkEventCodes.TowerStateChanged = 5 |
| const byte TowerVR.NetworkEventCodes.TryStartGame = 2 |
| const byte TowerVR.NetworkEventCodes.TurnStateChanged = 4 |