Barotrauma Client Doc
|
Public Types | |
enum class | State { Waiting , Transporting , Returning } |
Public Member Functions | |
RespawnManager (NetworkMember networkMember, SubmarineInfo shuttleInfo) | |
void | Update (float deltaTime) |
void | ForceRespawn () |
void | RespawnCharacters (Vector2? shuttlePos) |
Vector2 | FindSpawnPos () |
void | ShowRespawnPromptIfNeeded (float delay=5.0f) |
void | ClientEventRead (IReadMessage msg, float sendingTime) |
Public Member Functions inherited from Barotrauma.Entity | |
Entity (Submarine submarine, ushort id) | |
void | FreeID () |
Removes the entity from the entity dictionary and frees up the ID it was using. More... | |
virtual void | Remove () |
Static Public Member Functions | |
static AfflictionPrefab | GetRespawnPenaltyAfflictionPrefab () |
static Affliction | GetRespawnPenaltyAffliction () |
static void | GiveRespawnPenaltyAffliction (Character character) |
Static Public Member Functions inherited from Barotrauma.Entity | |
static IReadOnlyCollection< Entity > | GetEntities () |
static int | FindFreeIdBlock (int minBlockSize) |
Finds a contiguous block of free IDs of at least the given size More... | |
static Entity | FindEntityByID (ushort ID) |
Find an entity based on the ID More... | |
static void | RemoveAll () |
static void | DumpIds (int count, string filename) |
Properties | |
static float | SkillLossPercentageOnDeath [get] |
How much skills drop towards the job's default skill levels when dying More... | |
bool | UsingShuttle [get] |
DateTime | RespawnTime [get] |
When will the shuttle be dispatched with respawned characters More... | |
DateTime | ReturnTime [get] |
When will the sub start heading back out of the level More... | |
bool | RespawnCountdownStarted [get] |
bool | ReturnCountdownStarted [get] |
State | CurrentState [get] |
static bool?? | UseRespawnPrompt [get] |
Submarine | RespawnShuttle [get] |
int | PendingRespawnCount [get] |
int | RequiredRespawnCount [get] |
bool | ForceSpawnInMainSub [get] |
Properties inherited from Barotrauma.Entity | |
static int | EntityCount [get] |
bool | Removed [get] |
bool | IdFreed [get] |
virtual Vector2 | SimPosition [get] |
virtual Vector2 | Position [get] |
virtual Vector2 | WorldPosition [get] |
virtual Vector2 | DrawPosition [get] |
Submarine | Submarine [get, set] |
AITarget | AiTarget [get] |
bool | InDetectable [get, set] |
double | SpawnTime [get] |
string | ErrorLine [get] |
Properties inherited from Barotrauma.ISpatialEntity | |
Vector2 | Position [get] |
Vector2 | WorldPosition [get] |
Vector2 | SimPosition [get] |
Submarine | Submarine [get] |
Additional Inherited Members | |
Public Attributes inherited from Barotrauma.Entity | |
readonly ushort | ID |
Unique, but non-persistent identifier. Stays the same if the entities are created in the exactly same order, but doesn't persist e.g. between the rounds. More... | |
readonly string | CreationStackTrace |
readonly UInt64 | CreationIndex |
Static Public Attributes inherited from Barotrauma.Entity | |
const ushort | NullEntityID = 0 |
const ushort | EntitySpawnerID = ushort.MaxValue |
const ushort | RespawnManagerID = ushort.MaxValue - 1 |
const ushort | DummyID = ushort.MaxValue - 2 |
const ushort | ReservedIDStart = ushort.MaxValue - 3 |
const ushort | MaxEntityCount = ushort.MaxValue - 4 |
static EntitySpawner | Spawner |
Protected Member Functions inherited from Barotrauma.Entity | |
virtual ushort | DetermineID (ushort id, Submarine submarine) |
Protected Attributes inherited from Barotrauma.Entity | |
AITarget | aiTarget |
Definition at line 12 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
strong |
Enumerator | |
---|---|
Waiting | |
Transporting | |
Returning |
Definition at line 19 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
Barotrauma.Networking.RespawnManager.RespawnManager | ( | NetworkMember | networkMember, |
SubmarineInfo | shuttleInfo | ||
) |
Definition at line 81 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
void Barotrauma.Networking.RespawnManager.ClientEventRead | ( | IReadMessage | msg, |
float | sendingTime | ||
) |
Implements Barotrauma.Networking.IServerSerializable.
Definition at line 83 of file BarotraumaClient/ClientSource/Networking/RespawnManager.cs.
Vector2 Barotrauma.Networking.RespawnManager.FindSpawnPos | ( | ) |
Definition at line 378 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
void Barotrauma.Networking.RespawnManager.ForceRespawn | ( | ) |
Definition at line 198 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
static |
Definition at line 364 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
static |
Definition at line 359 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
static |
Definition at line 369 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
void Barotrauma.Networking.RespawnManager.RespawnCharacters | ( | Vector2? | shuttlePos | ) |
Definition at line 354 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
void Barotrauma.Networking.RespawnManager.ShowRespawnPromptIfNeeded | ( | float | delay = 5.0f | ) |
Definition at line 42 of file BarotraumaClient/ClientSource/Networking/RespawnManager.cs.
void Barotrauma.Networking.RespawnManager.Update | ( | float | deltaTime | ) |
Definition at line 160 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
Definition at line 65 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
Definition at line 21 of file BarotraumaClient/ClientSource/Networking/RespawnManager.cs.
|
get |
Definition at line 10 of file BarotraumaClient/ClientSource/Networking/RespawnManager.cs.
|
get |
Definition at line 16 of file BarotraumaClient/ClientSource/Networking/RespawnManager.cs.
|
get |
Definition at line 53 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
Definition at line 79 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
When will the shuttle be dispatched with respawned characters
Definition at line 46 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
Definition at line 59 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
When will the sub start heading back out of the level
Definition at line 51 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
staticget |
How much skills drop towards the job's default skill levels when dying
Definition at line 17 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
staticget |
Definition at line 67 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.
|
get |
Definition at line 38 of file BarotraumaShared/SharedSource/Networking/RespawnManager.cs.