Table of Contents

Class ExpansionInfo

Namespace
Moongate.UO.Data.Expansions
Assembly
Moongate.UO.Data.dll

Represents ExpansionInfo.

public class ExpansionInfo
Inheritance
ExpansionInfo
Inherited Members

Constructors

ExpansionInfo(int, string, ClientFlags, FeatureFlags, CharacterListFlags, HousingFlags, int, UOMapSelectionFlags)

public ExpansionInfo(int id, string name, ClientFlags clientFlags, FeatureFlags supportedFeatures, CharacterListFlags charListFlags, HousingFlags customHousingFlag, int mobileStatusVersion, UOMapSelectionFlags mapSelectionFlags)

Parameters

id int
name string
clientFlags ClientFlags
supportedFeatures FeatureFlags
charListFlags CharacterListFlags
customHousingFlag HousingFlags
mobileStatusVersion int
mapSelectionFlags UOMapSelectionFlags

ExpansionInfo(int, string, FeatureFlags, CharacterListFlags, HousingFlags, int, UOMapSelectionFlags)

[JsonConstructor]
public ExpansionInfo(int id, string name, FeatureFlags supportedFeatures, CharacterListFlags characterListFlags, HousingFlags housingFlags, int mobileStatusVersion, UOMapSelectionFlags mapSelectionFlags)

Parameters

id int
name string
supportedFeatures FeatureFlags
characterListFlags CharacterListFlags
housingFlags HousingFlags
mobileStatusVersion int
mapSelectionFlags UOMapSelectionFlags

ExpansionInfo(int, string, ClientVersion, FeatureFlags, CharacterListFlags, HousingFlags, int, UOMapSelectionFlags)

public ExpansionInfo(int id, string name, ClientVersion requiredClient, FeatureFlags supportedFeatures, CharacterListFlags charListFlags, HousingFlags customHousingFlag, int mobileStatusVersion, UOMapSelectionFlags mapSelectionFlags)

Parameters

id int
name string
requiredClient ClientVersion
supportedFeatures FeatureFlags
charListFlags CharacterListFlags
customHousingFlag HousingFlags
mobileStatusVersion int
mapSelectionFlags UOMapSelectionFlags

Properties

CharacterListFlags

[JsonConverter(typeof(FlagsConverter<CharacterListFlags>))]
public CharacterListFlags CharacterListFlags { get; set; }

Property Value

CharacterListFlags

ClientFlags

public ClientFlags ClientFlags { get; set; }

Property Value

ClientFlags

CoreExpansion

public static ExpansionInfo CoreExpansion { get; }

Property Value

ExpansionInfo

ForceOldAnimations

public static bool ForceOldAnimations { get; }

Property Value

bool

HousingFlags

[JsonConverter(typeof(FlagsConverter<HousingFlags>))]
public HousingFlags HousingFlags { get; set; }

Property Value

HousingFlags

Id

public int Id { get; }

Property Value

int

MapSelectionFlags

[JsonConverter(typeof(FlagsConverter<UOMapSelectionFlags>))]
public UOMapSelectionFlags MapSelectionFlags { get; set; }

Property Value

UOMapSelectionFlags

MobileStatusVersion

public int MobileStatusVersion { get; set; }

Property Value

int

Name

public string Name { get; set; }

Property Value

string

RequiredClient

[JsonConverter(typeof(ClientVersionConverter))]
public ClientVersion RequiredClient { get; set; }

Property Value

ClientVersion

SupportedFeatures

[JsonConverter(typeof(FlagsConverter<FeatureFlags>))]
public FeatureFlags SupportedFeatures { get; set; }

Property Value

FeatureFlags

Table

public static ExpansionInfo[] Table { get; set; }

Property Value

ExpansionInfo[]

Methods

GetInfo(UOExpansion)

public static ExpansionInfo GetInfo(UOExpansion ex)

Parameters

ex UOExpansion

Returns

ExpansionInfo

GetInfo(int)

public static ExpansionInfo GetInfo(int ex)

Parameters

ex int

Returns

ExpansionInfo

StoreMapSelection(UOMapSelectionFlags, UOExpansion)

public static void StoreMapSelection(UOMapSelectionFlags mapSelectionFlags, UOExpansion expansion)

Parameters

mapSelectionFlags UOMapSelectionFlags
expansion UOExpansion

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.