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);
 }
示例#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);
 }
示例#3
0
 public IReadOnlyReactiveProperty <Int64?> GetImpactValuesProperty(Int32 key)
 {
     return(LD_ImpactValues.GetProperty(key));
 }