Table of Contents

Class StatSnapshot

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

StatCollection 의 특정 시점 상태 스냅샷. 저장 및 디버깅용. Framework 는 저장 방식을 알지 못한다. SaveSystem 연동은 Game 프로젝트에서 수행한다.

public sealed class StatSnapshot
Inheritance
object
StatSnapshot

Constructors

StatSnapshot(float, IReadOnlyDictionary<StatId, (float, float)>)

public StatSnapshot(float timestamp, IReadOnlyDictionary<StatId, (float, float)> values)

Parameters

timestamp float
values IReadOnlyDictionary<StatId, (float Base, float Final)>

Properties

Timestamp

스냅샷 생성 시각 (UnityEngine.Time.time).

public float Timestamp { get; }

Property Value

float

Values

StatId → (BaseValue, FinalValue) 사전.

public IReadOnlyDictionary<StatId, (float Base, float Final)> Values { get; }

Property Value

IReadOnlyDictionary<StatId, (float Base, float Final)>

Methods

ToString()

public override string ToString()

Returns

string