Table of Contents

Struct StatId

Namespace
Framework.Systems.Stat
Assembly
Assembly-CSharp.dll

Stat 식별자. Framework 는 Stat 종류를 알지 못한다. 실제 정의는 Game 프로젝트에서 수행한다.

public readonly struct StatId

Examples

public static class GameStats
{
    public static readonly StatId Health    = new StatId("Health");
    public static readonly StatId Attack    = new StatId("Attack");
    public static readonly StatId MoveSpeed = new StatId("MoveSpeed");
}

Constructors

StatId(string)

public StatId(string value)

Parameters

value string

Properties

Value

public string Value { get; }

Property Value

string

Methods

Equals(StatId)

public bool Equals(StatId other)

Parameters

other StatId

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(StatId, StatId)

public static bool operator ==(StatId a, StatId b)

Parameters

a StatId
b StatId

Returns

bool

operator !=(StatId, StatId)

public static bool operator !=(StatId a, StatId b)

Parameters

a StatId
b StatId

Returns

bool