namespace ET { [FriendClass(typeof(Player))] public static class PlayerSystem { [ObjectSystem] public class PlayerAwakeSystem : AwakeSystem { public override void Awake(Player self, long account, long roleId) { self.AccountId = account; self.UnitId = roleId; } } } }