My Project
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Respawning Class Reference
Inheritance diagram for Respawning:
Modifiable

Classes

class  RespawnObject
 

Public Member Functions

void DoRespawn (string prefabName, int team, ushort ownerId, float waitSecs)
 
void DoRespawn (string prefabName, int team, ushort ownerId, float waitSecs, Func< string, Player, int, Vector2 > getRespawnPoint)
 
bool IsPlayerInQueue (ushort id)
 
RespawnObject GetPlayerQueue (ushort id)
 
void ClearQueue ()
 
Vector2 GetDefaultRespawn (string prefabName, Player player=null, int team=0)
 
Vector2 GetRandomRespawn (string prefabName, Player player, int team)
 
RespawnObject GetActiveRespawn (Player player)
 
List< RespawnObjectGetQueue ()
 
List< RespawnObjectGetTeamQueue (int team)
 
List< RespawnGetAllRespawns ()
 

Static Public Member Functions

static List< RespawnGetRespawns (string prefabName, int team)
 
static List< RespawnGetTeamRespawns (List< Respawn > list, int team)
 
static List< RespawnGetPrefabRespawns (List< Respawn > list, string prefabName)
 
static List< RespawnGetActiveRespawns (List< Respawn > list)
 
static List< RespawnGetNonChildrenRespawns (List< Respawn > list)
 
static bool IsPointVisibleToPlayers (Vector3 pos)
 

Public Attributes

string noSpawnText = "No spawn points left..."
 
Func< string, Player, int, Vector2 > defaultRespawnChooser
 

Additional Inherited Members

- Properties inherited from Modifiable
NetworkObject net [get]
 

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