Example #1
0
 public override void Start()
 {
     m_Instance = this;
     Debug.Log("HotFix Start Ok");
     GameMain.DispatcherEvent(CommonEvents.UpdateCheckVersionProgress, 1f, GameMain.Instance.GetText(6));
     GameMain.Instance.GetFSM().ChangeState(MainState_Running.Instance);
 }
Example #2
0
        public override void Start()
        {
            m_Instance = this;
            BugFixManager.IsOpenHotFix = true;
            ProcedureEvent.RegEvent();

            //GameDll.PacketHandlerManager.PacketHandlerMgrHF_ProcessPacket = PacketHandlerManagerHF.ProcessPacket;
            BugFixManager.RegHotFixFunction();

            UIManager.Init();
            MessageManagerHF.RegMessages();
            m_EventManagerHF = new EventsHF();
            GameDll.CGameProcedure.s_EventManager.OnCameraPositionChangedEvent += OnCameraPositionChangedEvent;
            Debug.Log("HotFix Start Ok");
        }
Example #3
0
 public static EventsHF GetInstance()
 {
     return(HotFixLoop.GetInstance().GetEvent());
 }