public void InitData(IScorersStateClient client, ScorersAccessor accessor, ChangeStorage storage) { _storage = storage; _accessor = accessor; LD_Values.Init(client.Values, storage); LD_BattleValues.Init(client.BattleValues, storage); LD_ImpactValues.Init(client.ImpactValues, storage); }
public void InitData(string root, ChangeStorage storage, ScorersAccessor accessor) { _accessor = accessor; _storage = storage; DataId = root; LD_Values?.Init($"{DataId}.global_scorers", storage, _Values); LD_BattleValues?.Init($"{DataId}.battle_scorers", storage, _BattleValues); LD_ImpactValues?.Init($"{DataId}.impact_scorers", storage, _ImpactValues); }