namespace TEngine.Logic; public class CharacterInfoAwakeSystem : AwakeSystem { protected override void Awake(CharacterInfo self) { self.Awake(); } } /// /// 角色信息。 /// public class CharacterInfo : Entity { //昵称 public string UserName { get; set; } //等级 public int Level { get; set; } //余额 public long Money { get; set; } //上次游戏角色序列 1/2/3 public int LastPlay { get; set; } //public List public void Awake() { UserName = string.Empty; Level = 1; Money = 10000; LastPlay = 0; } }