You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
405 B

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