Class WolfAchievement
A Wolf achievement.
Inheritance
System.Object
WolfAchievement
Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Core.dll
Syntax
public class WolfAchievement : IWolfEntity, IEquatable<WolfAchievement>
Constructors
| Improve this Doc View SourceWolfAchievement()
Creates a new instance of this WOLF entity.
Declaration
protected WolfAchievement()
Properties
| Improve this Doc View SourceChildAchievements
Child achievements, if any.
Declaration
public IEnumerable<WolfAchievement> ChildAchievements { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<WolfAchievement> |
Client
Achievement client. (?)
Declaration
public int? Client { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Description
Localized description of the achievement.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ID
ID of the achievement.
Declaration
public uint ID { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
ImageURL
URL of achievement's image.
Declaration
public string ImageURL { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsSecret
Is this a secret achievement?
Declaration
public bool IsSecret { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Name
Localized name of the achievement.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ParentID
ID of parent achievement, if any.
Declaration
public uint? ParentID { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
TypeID
ID of achievement type.
Declaration
public int? TypeID { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Weight
Achievement weight. (?)
Declaration
public int? Weight { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Methods
| Improve this Doc View SourceEquals(Object)
A Wolf achievement.
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(WolfAchievement)
A Wolf achievement.
Declaration
public bool Equals(WolfAchievement other)
Parameters
| Type | Name | Description |
|---|---|---|
| WolfAchievement | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
GetHashCode()
A Wolf achievement.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()
Operators
| Improve this Doc View SourceEquality(WolfAchievement, WolfAchievement)
A Wolf achievement.
Declaration
public static bool operator ==(WolfAchievement left, WolfAchievement right)
Parameters
| Type | Name | Description |
|---|---|---|
| WolfAchievement | left | |
| WolfAchievement | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(WolfAchievement, WolfAchievement)
A Wolf achievement.
Declaration
public static bool operator !=(WolfAchievement left, WolfAchievement right)
Parameters
| Type | Name | Description |
|---|---|---|
| WolfAchievement | left | |
| WolfAchievement | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Implements
System.IEquatable<T>