Class WolfCharm
Inheritance
System.Object
WolfCharm
Assembly: Wolfringo.Core.dll
Syntax
public class WolfCharm : IWolfEntity, IEquatable<WolfCharm>
Constructors
|
Improve this Doc
View Source
WolfCharm()
Creates a new instance of this WOLF entity.
Declaration
[JsonConstructor]
protected WolfCharm()
Properties
|
Improve this Doc
View Source
DescriptionPhraseID
Declaration
[JsonProperty("descriptionPhraseId")]
public uint? DescriptionPhraseID { get; }
Property Value
Type |
Description |
System.Nullable<System.UInt32> |
|
|
Improve this Doc
View Source
ID
Declaration
[JsonProperty("id")]
public uint ID { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
ImageURL
Declaration
[JsonProperty("imageUrl")]
public string ImageURL { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Name
Declaration
[JsonProperty("name")]
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ProductID
Product ID of this charm.
Declaration
[JsonProperty("productId")]
public uint? ProductID { get; }
Property Value
Type |
Description |
System.Nullable<System.UInt32> |
|
|
Improve this Doc
View Source
TranslatedDescriptions
Charm's translated descriptions.
Declaration
[JsonProperty("descriptionList")]
[JsonConverter(typeof(ObjectPropertiesDictionaryConverter<WolfLanguage, string>), new object[]{"languageId", "text"})]
public IReadOnlyDictionary<WolfLanguage, string> TranslatedDescriptions { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyDictionary<WolfLanguage, System.String> |
|
|
Improve this Doc
View Source
TranslatedNames
Charm's translated names.
Declaration
[JsonProperty("nameTranslationList")]
[JsonConverter(typeof(ObjectPropertiesDictionaryConverter<WolfLanguage, string>), new object[]{"languageId", "text"})]
public IReadOnlyDictionary<WolfLanguage, string> TranslatedNames { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyDictionary<WolfLanguage, System.String> |
|
|
Improve this Doc
View Source
Weight
Declaration
[JsonProperty("weight")]
public int Weight { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Equals(WolfCharm)
Declaration
public bool Equals(WolfCharm other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Operators
|
Improve this Doc
View Source
Equality(WolfCharm, WolfCharm)
Declaration
public static bool operator ==(WolfCharm left, WolfCharm right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(WolfCharm, WolfCharm)
Declaration
public static bool operator !=(WolfCharm left, WolfCharm right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>