public override async ETTask G2M_SessionDisconnectHandler(Unit unit, G2M_SessionDisconnect message) { unit.GetComponent <UnitGateComponent>().IsDisconnect = true; await unit.Save(); PlayerComponent.Instance.Remove(unit.PlayerId); unit.Domain.GetComponent <UnitComponent>().Remove(unit.Id); await ETTask.CompletedTask; }
public virtual async ETTask G2M_SessionDisconnectHandler(Unit unit, G2M_SessionDisconnect message) { }