Table of Contents

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 CustomBattleId
serverName string
address string
port int
region string
gameModule string
gameType string
map string
uniqueMapId string
playerCount int
maxPlayerCount int
isOfficial bool
byOfficialProvider bool
crossplayEnabled bool
hostId PlayerId
hostName string
loadedModules List<ModuleInfoModel>
allowsOptionalModules bool
passwordProtected bool
permission int

Properties

Address

public string Address { get; }

Property Value

string

AllowsOptionalModules

public bool AllowsOptionalModules { get; }

Property Value

bool

ByOfficialProvider

public bool ByOfficialProvider { get; }

Property Value

bool

CrossplayEnabled

public bool CrossplayEnabled { get; }

Property Value

bool

GameModule

public string GameModule { get; }

Property Value

string

GameType

public string GameType { get; }

Property Value

string

HostId

public PlayerId HostId { get; }

Property Value

PlayerId

HostName

public string HostName { get; }

Property Value

string

Id

public CustomBattleId Id { get; }

Property Value

CustomBattleId

IsOfficial

public bool IsOfficial { get; }

Property Value

bool

LoadedModules

public List<ModuleInfoModel> LoadedModules { get; }

Property Value

List<ModuleInfoModel>

Map

public string Map { get; }

Property Value

string

MaxPlayerCount

public int MaxPlayerCount { get; }

Property Value

int

PasswordProtected

public bool PasswordProtected { get; }

Property Value

bool

Permission

public int Permission { get; }

Property Value

int

Ping

public int Ping { get; }

Property Value

int

PlayerCount

public int PlayerCount { get; }

Property Value

int

Port

public int Port { get; }

Property Value

int

Region

public string Region { get; }

Property Value

string

ServerName

public string ServerName { get; }

Property Value

string

UniqueMapId

public string UniqueMapId { get; }

Property Value

string

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).