UnitPatchComponent.cs 391 B

1234567891011121314
  1. using MongoDB.Bson.Serialization.Attributes;
  2. namespace ET
  3. {
  4. //玩家创建完触发,用于处理一些玩家创建后的逻辑---用于打数据补丁
  5. public class UnitPatchComponent : Entity, IAwake, IDestroy, IDeserialize, ITransfer, IUnitCache
  6. {
  7. public string StrId;
  8. public int version = 0;
  9. [BsonIgnore] public bool isInit = false;
  10. }
  11. }