ItemInfosComponent.cs 505 B

1234567891011121314151617
  1. using MongoDB.Bson.Serialization.Attributes;
  2. using MongoDB.Bson.Serialization.Options;
  3. using System.Collections.Generic;
  4. namespace ET
  5. {
  6. public class ItemInfosComponent : Entity, IAwake, IDestroy, IDeserialize, ITransfer, IUnitCache
  7. {
  8. public string StrId = "";
  9. [BsonIgnore]
  10. public Dictionary<int, ItemInfo> ItemsDic = new Dictionary<int,ItemInfo>();
  11. [BsonIgnore]
  12. public M2C_NoticeUnitItem m2C_NoticeUnitItem = new M2C_NoticeUnitItem();
  13. }
  14. }