Beispiel #1
0
 public void processEvent(EventObject eventObject)
 {
     if (eventObject.getEventType() == 1)
     {
         PlayerLogoutEventObject logoutEvent = (PlayerLogoutEventObject)eventObject;
         WingPaiHangManager.getInstance().onPlayerLogout(logoutEvent.RoleInfo.RoleID);
     }
 }
Beispiel #2
0
        public void processEvent(EventObject eventObject)
        {
            if (eventObject.getEventType() != (int)EventTypes.PlayerLogout)
            {
                return;
            }

            PlayerLogoutEventObject logoutEvent = (PlayerLogoutEventObject)eventObject;

            WingPaiHangManager.getInstance().onPlayerLogout(logoutEvent.RoleInfo.RoleID);
        }