Ejemplo n.º 1
0
 //-------------------------------------------------------------------------
 internal void _recvMsgFromRemote(int msg_type, int msg_id, int msg_param, List <object> msg_paramlist)
 {
     if (!mNodeMgr.isClient())
     {
         if (mNodeServerScript != null)
         {
             mNodeServerScript.onClient2ServerMsg(this, msg_type, msg_id, msg_param, msg_paramlist);
         }
     }
     else
     {
         if (mNodeClientScript != null)
         {
             mNodeClientScript.onServer2ClientMsg(this, msg_type, msg_id, msg_param, msg_paramlist);
         }
     }
 }