|
Barotrauma Server Doc
|
Classes | |
| class | ActiveOrder |
Public Member Functions | |
| IEnumerable< Character > | GetCharacters () |
| IEnumerable< CharacterInfo > | GetCharacterInfos () |
| CrewManager (bool isSinglePlayer) | |
| bool | AddOrder (Order order, float? fadeOutTime) |
| void | AddCharacterElements (XElement element) |
| void | RemoveCharacterInfo (CharacterInfo characterInfo) |
| Remove info of a selected character. The character will not be visible in any menus or the round summary. More... | |
| void | AddCharacter (Character character, bool sortCrewList=true) |
| void | RemoveCharacter (Character character, bool removeInfo=false, bool resetCrewListIndex=true) |
| Remove the character from the crew (and crew menus). More... | |
| void | AddCharacterInfo (CharacterInfo characterInfo) |
| void | InitRound () |
| void | RenameCharacter (CharacterInfo characterInfo, string newName) |
| void | FireCharacter (CharacterInfo characterInfo) |
| void | ClearCurrentOrders () |
| void | Update (float deltaTime) |
| void | AddConversation (List<(Character speaker, string line)> conversationLines) |
| void | SaveActiveOrders (XElement element) |
| void | LoadActiveOrders (XElement element) |
| XElement | SaveMultiplayer (XElement parentElement) |
| Saves bots in multiplayer More... | |
| void | ServerWriteActiveOrders (IWriteMessage msg) |
Static Public Member Functions | |
| static Character | GetCharacterForQuickAssignment (Order order, Character controlledCharacter, IEnumerable< Character > characters, bool includeSelf=false) |
| static IEnumerable< Character > | GetCharactersSortedForOrder (Order order, IEnumerable< Character > characters, Character controlledCharacter, bool includeSelf, IEnumerable< Character > extraCharacters=null) |
Public Attributes | |
| ReadyCheck | ActiveReadyCheck |
Static Public Attributes | |
| const int | MaxCrewSize = 16 |
Properties | |
| List< CharacterInfo > | CharacterInfos [get] |
| bool | HasBots [get, set] |
| List< ActiveOrder > | ActiveOrders = new List<ActiveOrder>() [get] |
| bool | IsSinglePlayer [get] |
Definition at line 13 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| Barotrauma.CrewManager.CrewManager | ( | bool | isSinglePlayer | ) |
Definition at line 57 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.AddCharacter | ( | Character | character, |
| bool | sortCrewList = true |
||
| ) |
Definition at line 156 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.AddCharacterElements | ( | XElement | element | ) |
Definition at line 118 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.AddCharacterInfo | ( | CharacterInfo | characterInfo | ) |
Definition at line 229 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.AddConversation | ( | List<(Character speaker, string line)> | conversationLines | ) |
Definition at line 381 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| bool Barotrauma.CrewManager.AddOrder | ( | Order | order, |
| float? | fadeOutTime | ||
| ) |
Definition at line 66 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.ClearCurrentOrders | ( | ) |
Definition at line 353 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.FireCharacter | ( | CharacterInfo | characterInfo | ) |
Definition at line 348 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
static |
Definition at line 489 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| IEnumerable<CharacterInfo> Barotrauma.CrewManager.GetCharacterInfos | ( | ) |
Definition at line 31 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| IEnumerable<Character> Barotrauma.CrewManager.GetCharacters | ( | ) |
Definition at line 26 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
static |
Definition at line 503 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.InitRound | ( | ) |
Definition at line 240 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.LoadActiveOrders | ( | XElement | element | ) |
Definition at line 549 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.RemoveCharacter | ( | Character | character, |
| bool | removeInfo = false, |
||
| bool | resetCrewListIndex = true |
||
| ) |
Remove the character from the crew (and crew menus).
| character | The character to remove |
| removeInfo | If the character info is also removed, the character will not be visible in the round summary. |
Definition at line 206 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.RemoveCharacterInfo | ( | CharacterInfo | characterInfo | ) |
Remove info of a selected character. The character will not be visible in any menus or the round summary.
| characterInfo |
Definition at line 151 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.RenameCharacter | ( | CharacterInfo | characterInfo, |
| string | newName | ||
| ) |
Definition at line 333 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.SaveActiveOrders | ( | XElement | element | ) |
Definition at line 536 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| XElement Barotrauma.CrewManager.SaveMultiplayer | ( | XElement | parentElement | ) |
Saves bots in multiplayer
Definition at line 28 of file BarotraumaServer/ServerSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.ServerWriteActiveOrders | ( | IWriteMessage | msg | ) |
Definition at line 47 of file BarotraumaServer/ServerSource/GameSession/CrewManager.cs.
| void Barotrauma.CrewManager.Update | ( | float | deltaTime | ) |
Definition at line 361 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
| ReadyCheck Barotrauma.CrewManager.ActiveReadyCheck |
Definition at line 55 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
static |
Definition at line 21 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
get |
Definition at line 52 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
get |
Definition at line 38 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
getset |
Definition at line 40 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.
|
get |
Definition at line 53 of file BarotraumaShared/SharedSource/GameSession/CrewManager.cs.