|
Barotrauma Client Doc
|
Public Member Functions | |
| CrewManagement (CampaignUI campaignUI, GUIComponent parentComponent) | |
| void | RefreshPermissions () |
| void | UpdateHireables () |
| void | SetHireables (Location location, List< CharacterInfo > availableHires) |
| void | UpdateCrew () |
| bool | ValidateHires (List< CharacterInfo > hires, bool createNetworkEvent=false) |
| bool | RenameCharacter (CharacterInfo characterInfo, string newName) |
| void | Update () |
| void | SetPendingHires (List< int > characterInfos, Location location) |
| void | SendCrewState (bool updatePending,(CharacterInfo info, string newName) renameCharacter=default, CharacterInfo firedCharacter=null, bool validateHires=false) |
| Notify the server of crew changes More... | |
Definition at line 11 of file CrewManagement.cs.
| Barotrauma.CrewManagement.CrewManagement | ( | CampaignUI | campaignUI, |
| GUIComponent | parentComponent | ||
| ) |
Definition at line 43 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.RefreshPermissions | ( | ) |
Definition at line 58 of file CrewManagement.cs.
| bool Barotrauma.CrewManagement.RenameCharacter | ( | CharacterInfo | characterInfo, |
| string | newName | ||
| ) |
Definition at line 806 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.SendCrewState | ( | bool | updatePending, |
| (CharacterInfo info, string newName) | renameCharacter = default, |
||
| CharacterInfo | firedCharacter = null, |
||
| bool | validateHires = false |
||
| ) |
Notify the server of crew changes
| updatePending | When set to true will tell the server to update the pending hires |
| renameCharacter | When not null tell the server to rename this character. Item1 is the character to rename, Item2 is the new name, Item3 indicates whether the renamed character is already a part of the crew. |
| firedCharacter | When not null tell the server to fire this character |
| validateHires | When set to true will tell the server to validate pending hires |
Definition at line 971 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.SetHireables | ( | Location | location, |
| List< CharacterInfo > | availableHires | ||
| ) |
Definition at line 279 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.SetPendingHires | ( | List< int > | characterInfos, |
| Location | location | ||
| ) |
Definition at line 941 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.Update | ( | ) |
Definition at line 856 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.UpdateCrew | ( | ) |
Definition at line 292 of file CrewManagement.cs.
| void Barotrauma.CrewManagement.UpdateHireables | ( | ) |
Definition at line 250 of file CrewManagement.cs.
| bool Barotrauma.CrewManagement.ValidateHires | ( | List< CharacterInfo > | hires, |
| bool | createNetworkEvent = false |
||
| ) |
Definition at line 706 of file CrewManagement.cs.