Barotrauma Client Doc
|
Classes | |
struct | FailedSubInfo |
Public Types | |
enum class | SubmarineDeliveryData { Owned , Campaign } |
Public Member Functions | |
void | SetLevelDifficulty (float difficulty) |
void | SetBotCount (int botCount) |
void | SetBotSpawnMode (BotSpawnMode botSpawnMode) |
void | SetTraitorProbability (float probability) |
void | SetTraitorDangerLevel (int dangerLevel) |
IReadOnlyList< SubmarineInfo > | GetSubList () |
NetLobbyScreen () | |
void | StopWaitingForStartRound () |
IEnumerable< CoroutineStatus > | WaitForStartRound (GUIButton startButton) |
override void | Deselect () |
override void | Select () |
void | SetPublic (bool isPublic) |
void | RefreshEnabledElements () |
void | ShowSpectateButton () |
void | SetCampaignCharacterInfo (CharacterInfo newCampaignCharacterInfo) |
void | CreatePlayerFrame (GUIComponent parent, bool createPendingText=true, bool alwaysAllowEditing=false) |
void | TryDiscardCampaignCharacter (Action onYes) |
bool | ToggleSpectate (GUITickBox tickBox) |
void | SetSpectate (bool spectate) |
void | SetAllowSpectating (bool allowSpectating) |
void | SetAutoRestart (bool enabled, float timer=0.0f) |
void | SetMissionType (MissionType missionType) |
void | UpdateSubList (GUIComponent subList, IEnumerable< SubmarineInfo > submarines) |
bool | VotableClicked (GUIComponent component, object userData) |
void | AddPlayer (Client client) |
void | SetPlayerNameAndJobPreference (Client client) |
void | SetPlayerVoiceIconState (Client client, bool muted, bool mutedLocally) |
void | SetPlayerSpeaking (Client client) |
void | RemovePlayer (Client client) |
void | SelectPlayer (GUITextBlock component, GUITextBlock.ClickableArea area) |
void | ShowPlayerContextMenu (GUITextBlock component, GUITextBlock.ClickableArea area) |
bool | SelectPlayer (Client selectedClient) |
void | KickPlayer (Client client) |
void | BanPlayer (Client client) |
override void | AddToGUIUpdateList () |
By default, creates a new frame for the screen and adds all elements to the gui update list. More... | |
override void | Update (double deltaTime) |
override void | Draw (double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch) |
void | NewChatMessage (ChatMessage message) |
bool | SaveAppearance () |
void | SelectMode (int modeIndex) |
void | HighlightMode (int modeIndex) |
void | ToggleCampaignMode (bool enabled) |
void | TryDisplayCampaignSubmarine (SubmarineInfo submarine) |
bool | TrySelectSub (string subName, string md5Hash, GUIListBox subList) |
bool | CheckIfCampaignSubMatches (SubmarineInfo serverSubmarine, SubmarineDeliveryData deliveryData) |
void | UpdateSubVisibility () |
void | OnRoundEnded () |
Public Member Functions inherited from Barotrauma.Screen | |
void | ColorFade (Color from, Color to, float duration) |
virtual void | OnFileDropped (string filePath, string extension) |
virtual void | Release () |
Static Public Member Functions | |
static void | CreateChangesPendingFrame (GUIComponent parent) |
static Client | ExtractClientFromClickableArea (GUITextBlock.ClickableArea area) |
static void | CreateModerationContextMenu (Client client) |
Static Public Member Functions inherited from Barotrauma.Screen | |
static void | SelectNull () |
Public Attributes | |
readonly GUIFrame | MissionTypeFrame |
readonly GUIFrame | CampaignSetupFrame |
readonly GUIFrame | CampaignFrame |
readonly GUIButton | ContinueCampaignButton |
readonly GUIButton | SettingsButton |
GUIButton | PlayerFrame |
readonly GUIButton | SubVisibilityButton |
CharacterInfo.AppearanceCustomizationMenu | CharacterAppearanceCustomizationMenu |
GUIFrame | JobSelectionFrame |
GUIFrame | JobPreferenceContainer |
GUIListBox | JobList |
readonly GUIListBox | SubList |
readonly GUIDropDown | ShuttleList |
readonly GUIListBox | ModeList |
readonly GUIListBox | PlayerList |
MultiPlayerCampaignSetupUI | CampaignSetupUI |
FailedSubInfo? | FailedSelectedSub |
FailedSubInfo? | FailedSelectedShuttle |
List< FailedSubInfo > | FailedCampaignSubs = new List<FailedSubInfo>() |
List< FailedSubInfo > | FailedOwnedSubs = new List<FailedSubInfo>() |
Static Public Attributes | |
static GUIButton | JobInfoFrame |
Definition at line 7 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
|
strong |
Enumerator | |
---|---|
Owned | |
Campaign |
Definition at line 3802 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
Barotrauma.NetLobbyScreen.NetLobbyScreen | ( | ) |
Definition at line 310 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.AddPlayer | ( | Client | client | ) |
Definition at line 2125 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
virtual |
By default, creates a new frame for the screen and adds all elements to the gui update list.
Reimplemented from Barotrauma.Screen.
Definition at line 2776 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.BanPlayer | ( | Client | client | ) |
Definition at line 2770 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
bool Barotrauma.NetLobbyScreen.CheckIfCampaignSubMatches | ( | SubmarineInfo | serverSubmarine, |
SubmarineDeliveryData | deliveryData | ||
) |
Definition at line 3808 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
static |
Definition at line 1786 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
static |
Definition at line 2303 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.CreatePlayerFrame | ( | GUIComponent | parent, |
bool | createPendingText = true , |
||
bool | alwaysAllowEditing = false |
||
) |
Definition at line 1489 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
virtual |
Reimplemented from Barotrauma.Screen.
Definition at line 1336 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
virtual |
Reimplemented from Barotrauma.Screen.
Definition at line 2882 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
static |
IReadOnlyList<SubmarineInfo> Barotrauma.NetLobbyScreen.GetSubList | ( | ) |
void Barotrauma.NetLobbyScreen.HighlightMode | ( | int | modeIndex | ) |
Definition at line 3344 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.KickPlayer | ( | Client | client | ) |
Definition at line 2764 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.NewChatMessage | ( | ChatMessage | message | ) |
Definition at line 2984 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.OnRoundEnded | ( | ) |
Definition at line 4106 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.RefreshEnabledElements | ( | ) |
Definition at line 1411 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.RemovePlayer | ( | Client | client | ) |
Definition at line 2279 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
bool Barotrauma.NetLobbyScreen.SaveAppearance | ( | ) |
Definition at line 3063 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
virtual |
Reimplemented from Barotrauma.Screen.
Definition at line 1346 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SelectMode | ( | int | modeIndex | ) |
Definition at line 3314 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
bool Barotrauma.NetLobbyScreen.SelectPlayer | ( | Client | selectedClient | ) |
Definition at line 2413 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SelectPlayer | ( | GUITextBlock | component, |
GUITextBlock.ClickableArea | area | ||
) |
Definition at line 2288 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetAllowSpectating | ( | bool | allowSpectating | ) |
Definition at line 1870 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetAutoRestart | ( | bool | enabled, |
float | timer = 0.0f |
||
) |
Definition at line 1886 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetBotCount | ( | int | botCount | ) |
Definition at line 39 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetBotSpawnMode | ( | BotSpawnMode | botSpawnMode | ) |
Definition at line 56 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetCampaignCharacterInfo | ( | CharacterInfo | newCampaignCharacterInfo | ) |
Definition at line 1466 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetLevelDifficulty | ( | float | difficulty | ) |
Definition at line 24 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetMissionType | ( | MissionType | missionType | ) |
Definition at line 1892 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetPlayerNameAndJobPreference | ( | Client | client | ) |
Definition at line 2207 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetPlayerSpeaking | ( | Client | client | ) |
Definition at line 2269 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetPlayerVoiceIconState | ( | Client | client, |
bool | muted, | ||
bool | mutedLocally | ||
) |
Definition at line 2251 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetPublic | ( | bool | isPublic | ) |
Definition at line 1406 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetSpectate | ( | bool | spectate | ) |
Definition at line 1848 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetTraitorDangerLevel | ( | int | dangerLevel | ) |
Definition at line 88 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.SetTraitorProbability | ( | float | probability | ) |
Definition at line 76 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.ShowPlayerContextMenu | ( | GUITextBlock | component, |
GUITextBlock.ClickableArea | area | ||
) |
Definition at line 2295 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.ShowSpectateButton | ( | ) |
Definition at line 1458 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.StopWaitingForStartRound | ( | ) |
Definition at line 1298 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.ToggleCampaignMode | ( | bool | enabled | ) |
Definition at line 3468 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
bool Barotrauma.NetLobbyScreen.ToggleSpectate | ( | GUITickBox | tickBox | ) |
Definition at line 1842 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.TryDiscardCampaignCharacter | ( | Action | onYes | ) |
Definition at line 1756 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.TryDisplayCampaignSubmarine | ( | SubmarineInfo | submarine | ) |
Definition at line 3492 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
bool Barotrauma.NetLobbyScreen.TrySelectSub | ( | string | subName, |
string | md5Hash, | ||
GUIListBox | subList | ||
) |
Definition at line 3693 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
virtual |
Reimplemented from Barotrauma.Screen.
Definition at line 2787 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.UpdateSubList | ( | GUIComponent | subList, |
IEnumerable< SubmarineInfo > | submarines | ||
) |
Definition at line 1897 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
void Barotrauma.NetLobbyScreen.UpdateSubVisibility | ( | ) |
Definition at line 4094 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
bool Barotrauma.NetLobbyScreen.VotableClicked | ( | GUIComponent | component, |
object | userData | ||
) |
Definition at line 2018 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
IEnumerable<CoroutineStatus> Barotrauma.NetLobbyScreen.WaitForStartRound | ( | GUIButton | startButton | ) |
Definition at line 1309 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIFrame Barotrauma.NetLobbyScreen.CampaignFrame |
Definition at line 52 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIFrame Barotrauma.NetLobbyScreen.CampaignSetupFrame |
Definition at line 51 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
MultiPlayerCampaignSetupUI Barotrauma.NetLobbyScreen.CampaignSetupUI |
Definition at line 226 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
CharacterInfo.AppearanceCustomizationMenu Barotrauma.NetLobbyScreen.CharacterAppearanceCustomizationMenu |
Definition at line 101 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIButton Barotrauma.NetLobbyScreen.ContinueCampaignButton |
Definition at line 53 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
List<FailedSubInfo> Barotrauma.NetLobbyScreen.FailedCampaignSubs = new List<FailedSubInfo>() |
Definition at line 3690 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
List<FailedSubInfo> Barotrauma.NetLobbyScreen.FailedOwnedSubs = new List<FailedSubInfo>() |
Definition at line 3691 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
FailedSubInfo? Barotrauma.NetLobbyScreen.FailedSelectedShuttle |
Definition at line 3688 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
FailedSubInfo? Barotrauma.NetLobbyScreen.FailedSelectedSub |
Definition at line 3687 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
static |
Definition at line 68 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
GUIListBox Barotrauma.NetLobbyScreen.JobList |
Definition at line 105 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
GUIFrame Barotrauma.NetLobbyScreen.JobPreferenceContainer |
Definition at line 104 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
GUIFrame Barotrauma.NetLobbyScreen.JobSelectionFrame |
Definition at line 102 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIFrame Barotrauma.NetLobbyScreen.MissionTypeFrame |
Definition at line 50 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIListBox Barotrauma.NetLobbyScreen.ModeList |
Definition at line 167 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
GUIButton Barotrauma.NetLobbyScreen.PlayerFrame |
Definition at line 78 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIListBox Barotrauma.NetLobbyScreen.PlayerList |
Definition at line 196 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIButton Barotrauma.NetLobbyScreen.SettingsButton |
Definition at line 67 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIDropDown Barotrauma.NetLobbyScreen.ShuttleList |
Definition at line 165 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIListBox Barotrauma.NetLobbyScreen.SubList |
Definition at line 163 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
readonly GUIButton Barotrauma.NetLobbyScreen.SubVisibilityButton |
Definition at line 80 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 116 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 198 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 27 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 140 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 129 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 131 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 132 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 130 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 183 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 271 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 10 of file BarotraumaShared/SharedSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 292 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 152 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 239 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 216 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 58 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 234 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 170 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 224 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 222 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 146 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 134 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 71 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 210 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
get |
Definition at line 204 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.
|
getset |
Definition at line 228 of file BarotraumaClient/ClientSource/Screens/NetLobbyScreen.cs.