M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM Class Reference

Inherits TaleWorlds.Library.ViewModel.

Public Types

enum  CustomGameMode {
  CustomServer ,
  PremadeGame
}
 

Public Member Functions

 MPCustomGameVM (LobbyState lobbyState, CustomGameMode customGameMode)
 
override void RefreshValues ()
 Used for updating localized texts.
 
override void OnFinalize ()
 
void RefreshPremadeGameList ()
 
void RefreshCustomGameServerList (AvailableCustomGames availableCustomGames)
 
async void ExecuteRefresh ()
 
void ExecuteJoin ()
 
void SetRefreshInputKey (HotKey hotKey)
 
- Public Member Functions inherited from TaleWorlds.Library.ViewModel
void OnPropertyChanged ([CallerMemberName] string propertyName=null)
 Method for notifying binded views about the changes in a property. Uses reflection to get the value of the property. If reflection is not needed or updated value of the property is already known, use OnPropertyChangedWithValue() instead.
 
void OnPropertyChangedWithValue< T > (T value, [CallerMemberName]string propertyName=null)
 Faster method for notifying binded views about the changes in a property. To avoid reflection, caller can pass changed value to this method. If caller does not have access rights to the value, use OnPropertyChanged() instead.
 
void OnPropertyChangedWithValue (bool value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (int value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (float value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (uint value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (Color value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (double value, [CallerMemberName] string propertyName=null)
 
void OnPropertyChangedWithValue (Vec2 value, [CallerMemberName] string propertyName=null)
 
object GetViewModelAtPath (BindingPath path, bool isList)
 
object GetViewModelAtPath (BindingPath path)
 
object GetPropertyValue (string name, PropertyTypeFeeder propertyTypeFeeder)
 
object GetPropertyValue (string name)
 
Type GetPropertyType (string name)
 
void SetPropertyValue (string name, object value)
 
virtual void OnFinalize ()
 
void ExecuteCommand (string commandName, object[] parameters)
 
virtual void RefreshValues ()
 Used for updating localized texts.
 
object GetViewModelAtPath (BindingPath path)
 
object GetViewModelAtPath (BindingPath path, bool isList)
 
object GetPropertyValue (string name)
 
object GetPropertyValue (string name, PropertyTypeFeeder propertyTypeFeeder)
 
void SetPropertyValue (string name, object value)
 
void ExecuteCommand (string commandName, object[] parameters)
 

Properties

static bool IsPingInfoAvailable [get]
 
InputKeyItemVM RefreshInputKey [get, set]
 
bool IsEnabled [get, set]
 
int SelectedIndex [get, set]
 
MPCustomGameFiltersVM FiltersData [get, set]
 
MPHostGameVM HostGame [get, set]
 
MPCustomGameSortControllerVM SortController [get, set]
 
MBBindingList< MPCustomGameItemVMGameList [get, set]
 
HintViewModel IsPasswordProtectedHint [get, set]
 
bool IsRefreshed [get, set]
 
bool IsPartyLeader [get, set]
 
bool IsInParty [get, set]
 
string CreateServerText [get, set]
 
bool IsCustomServerActionsActive [get, set]
 
string CloseText [get, set]
 
string ServersInfoText [get, set]
 
string RefreshText [get, set]
 
string JoinText [get, set]
 
string ServerNameText [get, set]
 
string GameTypeText [get, set]
 
string MapText [get, set]
 
string PlayerCountText [get, set]
 
string PingText [get, set]
 
string PasswordText [get, set]
 
string FirstFactionText [get, set]
 
string SecondFactionText [get, set]
 
string RegionText [get, set]
 
string PremadeMatchTypeText [get, set]
 
string HostText [get, set]
 
bool IsPlayerBasedCustomBattleEnabled [get, set]
 
bool IsPremadeGameEnabled [get, set]
 
MBBindingList< StringPairItemWithActionVMCustomServerActionsList [get, set]
 
- Properties inherited from TaleWorlds.Library.ViewModel
PropertyChangedEventHandler PropertyChanged
 
PropertyChangedWithValueEventHandler PropertyChangedWithValue
 
PropertyChangedWithBoolValueEventHandler PropertyChangedWithBoolValue
 
PropertyChangedWithIntValueEventHandler PropertyChangedWithIntValue
 
PropertyChangedWithFloatValueEventHandler PropertyChangedWithFloatValue
 
PropertyChangedWithUIntValueEventHandler PropertyChangedWithUIntValue
 
PropertyChangedWithColorValueEventHandler PropertyChangedWithColorValue
 
PropertyChangedWithDoubleValueEventHandler PropertyChangedWithDoubleValue
 
PropertyChangedWithVec2ValueEventHandler PropertyChangedWithVec2Value
 

Additional Inherited Members

- Static Public Member Functions inherited from TaleWorlds.Library.ViewModel
static void CollectPropertiesAndMethods ()
 
- Static Public Attributes inherited from TaleWorlds.Library.ViewModel
static bool UIDebugMode
 
- Protected Member Functions inherited from TaleWorlds.Library.ViewModel
 ViewModel ()
 
bool SetField< T > (ref T field, T value, string propertyName)
 
- Events inherited from TaleWorlds.Library.IViewModel
PropertyChangedWithValueEventHandler PropertyChangedWithValue
 
PropertyChangedWithBoolValueEventHandler PropertyChangedWithBoolValue
 
PropertyChangedWithIntValueEventHandler PropertyChangedWithIntValue
 
PropertyChangedWithFloatValueEventHandler PropertyChangedWithFloatValue
 
PropertyChangedWithUIntValueEventHandler PropertyChangedWithUIntValue
 
PropertyChangedWithColorValueEventHandler PropertyChangedWithColorValue
 
PropertyChangedWithDoubleValueEventHandler PropertyChangedWithDoubleValue
 
PropertyChangedWithVec2ValueEventHandler PropertyChangedWithVec2Value
 

Member Enumeration Documentation

◆ CustomGameMode

Constructor & Destructor Documentation

◆ MPCustomGameVM()

TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.MPCustomGameVM ( LobbyState  lobbyState,
CustomGameMode  customGameMode 
)

Member Function Documentation

◆ RefreshValues()

override void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.RefreshValues ( )
virtual

Reimplemented from TaleWorlds.Library.ViewModel.

◆ OnFinalize()

override void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.OnFinalize ( )
virtual

Reimplemented from TaleWorlds.Library.ViewModel.

◆ RefreshPremadeGameList()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.RefreshPremadeGameList ( )

◆ RefreshCustomGameServerList()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.RefreshCustomGameServerList ( AvailableCustomGames  availableCustomGames)

◆ ExecuteRefresh()

async void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.ExecuteRefresh ( )

◆ ExecuteJoin()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.ExecuteJoin ( )

◆ SetRefreshInputKey()

void TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.SetRefreshInputKey ( HotKey  hotKey)

Property Documentation

◆ IsPingInfoAvailable

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsPingInfoAvailable
staticget

◆ RefreshInputKey

InputKeyItemVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.RefreshInputKey
getset

◆ IsEnabled

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsEnabled
getset

◆ SelectedIndex

int TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.SelectedIndex
getset

◆ FiltersData

MPCustomGameFiltersVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.FiltersData
getset

◆ HostGame

MPHostGameVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.HostGame
getset

◆ SortController

MPCustomGameSortControllerVM TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.SortController
getset

◆ GameList

MBBindingList<MPCustomGameItemVM> TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.GameList
getset

◆ IsPasswordProtectedHint

HintViewModel TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsPasswordProtectedHint
getset

◆ IsRefreshed

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsRefreshed
getset

◆ IsPartyLeader

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsPartyLeader
getset

◆ IsInParty

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsInParty
getset

◆ CreateServerText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.CreateServerText
getset

◆ IsCustomServerActionsActive

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsCustomServerActionsActive
getset

◆ CloseText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.CloseText
getset

◆ ServersInfoText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.ServersInfoText
getset

◆ RefreshText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.RefreshText
getset

◆ JoinText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.JoinText
getset

◆ ServerNameText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.ServerNameText
getset

◆ GameTypeText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.GameTypeText
getset

◆ MapText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.MapText
getset

◆ PlayerCountText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.PlayerCountText
getset

◆ PingText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.PingText
getset

◆ PasswordText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.PasswordText
getset

◆ FirstFactionText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.FirstFactionText
getset

◆ SecondFactionText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.SecondFactionText
getset

◆ RegionText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.RegionText
getset

◆ PremadeMatchTypeText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.PremadeMatchTypeText
getset

◆ HostText

string TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.HostText
getset

◆ IsPlayerBasedCustomBattleEnabled

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsPlayerBasedCustomBattleEnabled
getset

◆ IsPremadeGameEnabled

bool TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.IsPremadeGameEnabled
getset

◆ CustomServerActionsList

MBBindingList<StringPairItemWithActionVM> TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.Lobby.CustomGame.MPCustomGameVM.CustomServerActionsList
getset