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

            PlayerLogoutEventObject logoutEvent = (PlayerLogoutEventObject)eventObject;

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