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
idintnamestringclientFlagsClientFlagssupportedFeaturesFeatureFlagscharListFlagsCharacterListFlagscustomHousingFlagHousingFlagsmobileStatusVersionintmapSelectionFlagsUOMapSelectionFlags
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
idintnamestringsupportedFeaturesFeatureFlagscharacterListFlagsCharacterListFlagshousingFlagsHousingFlagsmobileStatusVersionintmapSelectionFlagsUOMapSelectionFlags
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
idintnamestringrequiredClientClientVersionsupportedFeaturesFeatureFlagscharListFlagsCharacterListFlagscustomHousingFlagHousingFlagsmobileStatusVersionintmapSelectionFlagsUOMapSelectionFlags
Properties
CharacterListFlags
[JsonConverter(typeof(FlagsConverter<CharacterListFlags>))]
public CharacterListFlags CharacterListFlags { get; set; }
Property Value
ClientFlags
public ClientFlags ClientFlags { get; set; }
Property Value
CoreExpansion
public static ExpansionInfo CoreExpansion { get; }
Property Value
ForceOldAnimations
public static bool ForceOldAnimations { get; }
Property Value
HousingFlags
[JsonConverter(typeof(FlagsConverter<HousingFlags>))]
public HousingFlags HousingFlags { get; set; }
Property Value
Id
public int Id { get; }
Property Value
MapSelectionFlags
[JsonConverter(typeof(FlagsConverter<UOMapSelectionFlags>))]
public UOMapSelectionFlags MapSelectionFlags { get; set; }
Property Value
MobileStatusVersion
public int MobileStatusVersion { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
RequiredClient
[JsonConverter(typeof(ClientVersionConverter))]
public ClientVersion RequiredClient { get; set; }
Property Value
SupportedFeatures
[JsonConverter(typeof(FlagsConverter<FeatureFlags>))]
public FeatureFlags SupportedFeatures { get; set; }
Property Value
Table
public static ExpansionInfo[] Table { get; set; }
Property Value
Methods
GetInfo(UOExpansion)
public static ExpansionInfo GetInfo(UOExpansion ex)
Parameters
exUOExpansion
Returns
GetInfo(int)
public static ExpansionInfo GetInfo(int ex)
Parameters
exint
Returns
StoreMapSelection(UOMapSelectionFlags, UOExpansion)
public static void StoreMapSelection(UOMapSelectionFlags mapSelectionFlags, UOExpansion expansion)
Parameters
mapSelectionFlagsUOMapSelectionFlagsexpansionUOExpansion
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.