Table of Contents

Struct EffectId

Namespace
Framework.Systems.Effect.Runtime
Assembly
Assembly-CSharp.dll

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

public readonly struct EffectId

Examples

public static class GameEffects
{
    public static readonly EffectId Poison = new EffectId("Poison");
    public static readonly EffectId Burn   = new EffectId("Burn");
    public static readonly EffectId Slow   = new EffectId("Slow");
    public static readonly EffectId Shield = new EffectId("Shield");
}

Constructors

EffectId(string)

public EffectId(string value)

Parameters

value string

Properties

Value

public string Value { get; }

Property Value

string

Methods

Equals(EffectId)

public bool Equals(EffectId other)

Parameters

other EffectId

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 ==(EffectId, EffectId)

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

Parameters

a EffectId
b EffectId

Returns

bool

operator !=(EffectId, EffectId)

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

Parameters

a EffectId
b EffectId

Returns

bool