Beamable SDK
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
GameSession Class Reference
Inheritance diagram for GameSession:
Inheritance graph
Collaboration diagram for GameSession:
Collaboration graph

Public Member Functions

void OnInit (RelayState state)
void OnConnect (RelayPlayer player)
void OnDisconnect (RelayPlayer player)
int GetPlayerIndex (GamePlayer player)
PlayerReadyEvent CreateNewPlayerEvent (PlayerResponse response)
void DeclareVictory ()
void FritterAway ()
void MoveCharacter (Vector3Int targetGridPosition)
void RaiseShield ()
void ShootArrow (Vector3Int targetGridPosition)
void ShootFireball (Vector3Int targetGridPosition)
void PlayerIsReady ()
void PlayerIsNotReady ()
IEnumerable< Vector3Int > GridNeighbors ()

Public Attributes

GamePlayer PlayerPrefab
Fireball FireballPrefab
Arrow ArrowPrefab
TextMeshProUGUI TxtDebug
BattleGrid Grid
PlayerInputStateMachine playerInput
GameOverController gameOver
MatchMakingUI mUI
TurnTimer timer
int TurnNumber = 1
UnityEvent negativeSoundEvent
int pointsForSurviving
int pointsPerKill
RelaySession session
RelayState state
string Seed => state.seed
readonly List< GamePlayergamePlayers = new List<GamePlayer>()
List< Component > playerComponents = new List<Component>()

Static Public Attributes

const string LEADERBOARD_NAME = "leaderboards.rankings"


static GameSession Instance [get]
GamePlayer Myself [get]

The documentation for this class was generated from the following file: