Table of Contents

Class StatSystem

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

IStatSystem 구현체. 엔티티별 StatCollection 을 관리한다. VContainer Singleton 으로 등록한다.

public sealed class StatSystem : IStatSystem
Inheritance
object
StatSystem
Implements

Properties

Count

등록된 엔티티 수.

public int Count { get; }

Property Value

int

Methods

Get(int)

엔티티 ID 로 StatCollection 조회. 없으면 null.

public StatCollection Get(int entityId)

Parameters

entityId int

Returns

StatCollection

Register(int)

엔티티 ID 로 StatCollection 을 등록하고 반환한다.

public StatCollection Register(int entityId)

Parameters

entityId int

Returns

StatCollection

Unregister(int)

엔티티 ID 의 StatCollection 을 해제한다.

public void Unregister(int entityId)

Parameters

entityId int