namespace ET.Server { [EntitySystemOf(typeof(Hero))] [FriendOf(typeof(Hero))] public static partial class HeroSystem { [EntitySystem] private static void Awake(this Hero self, int configId) { self.ConfigId = configId; self.Level = 1; self.Exp = 0; self.Star = 1; self.StarExp = 0; self.MaxLevelAudited = false; self.MaxSkillAudited = false; } } }