Class GameServerEntry
- Namespace
- TaleWorlds.MountAndBlade.Diamond
- Assembly
- TaleWorlds.MountAndBlade.Diamond.dll
public class GameServerEntry
- Inheritance
-
GameServerEntry
- Inherited Members
Constructors
GameServerEntry()
public GameServerEntry()
GameServerEntry(CustomBattleId, string, string, int, string, string, string, string, string, int, int, bool, bool, bool, PlayerId, string, List<ModuleInfoModel>, bool, bool, int)
public GameServerEntry(CustomBattleId id, string serverName, string address, int port, string region, string gameModule, string gameType, string map, string uniqueMapId, int playerCount, int maxPlayerCount, bool isOfficial, bool byOfficialProvider, bool crossplayEnabled, PlayerId hostId, string hostName, List<ModuleInfoModel> loadedModules, bool allowsOptionalModules, bool passwordProtected = false, int permission = 0)
Parameters
id
CustomBattleIdserverName
stringaddress
stringport
intregion
stringgameModule
stringgameType
stringmap
stringuniqueMapId
stringplayerCount
intmaxPlayerCount
intisOfficial
boolbyOfficialProvider
boolcrossplayEnabled
boolhostId
PlayerIdhostName
stringloadedModules
List<ModuleInfoModel>allowsOptionalModules
boolpasswordProtected
boolpermission
int
Properties
Address
public string Address { get; }
Property Value
AllowsOptionalModules
public bool AllowsOptionalModules { get; }
Property Value
ByOfficialProvider
public bool ByOfficialProvider { get; }
Property Value
CrossplayEnabled
public bool CrossplayEnabled { get; }
Property Value
GameModule
public string GameModule { get; }
Property Value
GameType
public string GameType { get; }
Property Value
HostId
public PlayerId HostId { get; }
Property Value
HostName
public string HostName { get; }
Property Value
Id
public CustomBattleId Id { get; }
Property Value
IsOfficial
public bool IsOfficial { get; }
Property Value
LoadedModules
public List<ModuleInfoModel> LoadedModules { get; }
Property Value
Map
public string Map { get; }
Property Value
MaxPlayerCount
public int MaxPlayerCount { get; }
Property Value
PasswordProtected
public bool PasswordProtected { get; }
Property Value
Permission
public int Permission { get; }
Property Value
Ping
public int Ping { get; }
Property Value
PlayerCount
public int PlayerCount { get; }
Property Value
Port
public int Port { get; }
Property Value
Region
public string Region { get; }
Property Value
ServerName
public string ServerName { get; }
Property Value
UniqueMapId
public string UniqueMapId { get; }
Property Value
Methods
FilterGameServerEntriesBasedOnCrossplay(ref List<GameServerEntry>, bool)
public static void FilterGameServerEntriesBasedOnCrossplay(ref List<GameServerEntry> serverList, bool hasCrossplayPrivilege)
Parameters
serverList
List<GameServerEntry>hasCrossplayPrivilege
bool
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).