ItemCollectComponent.cs 514 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. using MongoDB.Bson.Serialization.Options;
  4. namespace ET
  5. {
  6. public class ItemCollectComponent : Entity, IAwake, IDestroy, IUnitCache, ITransfer
  7. {
  8. [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
  9. public Dictionary<int, long> ItemCollectDic = new Dictionary<int, long>();
  10. [BsonIgnore] public S2C_ItemCollect S2C_ItemCollect = new S2C_ItemCollect();
  11. public string StrId = "";
  12. }
  13. }