예제 #1
0
 public static WorldPigeon Instance()
 {
     if (mInstance == null)
     {
         mInstance = new WorldPigeon();
     }
     return mInstance;
 }
예제 #2
0
 public static WorldPigeon Instance()
 {
     if (mInstance == null)
     {
         mInstance = new WorldPigeon();
     }
     return(mInstance);
 }
예제 #3
0
        public static void LogicRun()
        {
            SocketCallBack.Instance().Run();           //玩家发过来的封包进行处理,加到数据队列
            DBServer.Instance().ProcessDBNetMsg();     //优先处理db数据库服务器发过来的消息
            SessionManager.Instance().ProcessNetMsg(); //处理玩家发过来的消息
            MapManager.Instance().Process();
            UserEngine.Instance().Run();
            ScriptTimerManager.Instance().Run(); //脚本定时器

            WorldPigeon.Instance().Run();        //魔法飞鸽
        }