Beispiel #1
0
 public void InitData(IInventoryStateClient client, InventoryAccessor accessor, ChangeStorage storage)
 {
     _storage  = storage;
     _accessor = accessor;
     LD_Items.Init(client.Items, storage);
     LD_Gacha.Init(client.Gacha, storage);
 }
Beispiel #2
0
 public void InitData(string root, ChangeStorage storage, InventoryAccessor accessor)
 {
     _accessor = accessor;
     _storage  = storage;
     DataId    = root;
     LD_Items?.Init($"{DataId}.storage", storage, _Items);
     LD_Gacha?.Init($"{DataId}.gacha", storage, _Gacha);
 }
Beispiel #3
0
 public IReadOnlyReactiveProperty <Int32?> GetItemsProperty(Int32 key)
 {
     return(LD_Items.GetProperty(key));
 }