Example #1
0
    //处理网络数据
    void KBEUpdate()
    {
        //处理网络回调
        gameapp.UpdateMain();

        //处理主角移动和其它玩家移动报文
        if (Environment.TickCount > this.nextSendTickCountOnSerialize && ChuMeng.ObjectManager.objectManager != null)
        {
            nextSendTickCountOnSerialize = Environment.TickCount + updateIntervalOnSerialize;
        }
        //KBEngine.Event.processOutEvents ();
    }
Example #2
0
 //处理网络数据
 void KBEUpdate()
 {
     //处理网络回调
     gameapp.UpdateMain();
 }