public void processEvent(EventObject eventObject)
 {
     if (eventObject.getEventType() == 0)
     {
         ZhanMengShijianEvent eventObj = (ZhanMengShijianEvent)eventObject;
         ZhanMengShiJianManager.getInstance().addZhanMengShiJian(eventObj.BhId, eventObj.RoleName, eventObj.ShijianType, eventObj.Param1, eventObj.Param2, eventObj.Param3, eventObj.ServerId);
     }
 }
示例#2
0
        public void processEvent(EventObject eventObject)
        {
            if (eventObject.getEventType() != (int)EventTypes.ZhanMengShiJian)
            {
                return;
            }

            ZhanMengShijianEvent eventObj = (ZhanMengShijianEvent)eventObject;

            //触发事件
            ZhanMengShiJianManager.getInstance().addZhanMengShiJian(eventObj.BhId, eventObj.RoleName, eventObj.ShijianType, eventObj.Param1, eventObj.Param2, eventObj.Param3);
        }