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);
 }
Exemple #2
0
 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);
 }