//public void onFullTPKG(uint cmdID, Variant par) //{ // //trace( "onFullTPKG" + cmdID ); //} public void sendRpc(uint cmd, Variant msg) { if (cmd != 9) { GameTools.PrintDetial("sendRpc cmd[" + cmd + "] msg:" + msg.dump()); } _conn.PSendRPC(cmd, msg); }
public void sendRpc(uint cmd, Variant msg) { bool flag = cmd != 9u; if (flag) { GameTools.PrintDetial(string.Concat(new object[] { "sendRpc cmd[", cmd, "] msg:", msg.dump() })); } this._conn.PSendRPC(cmd, msg); }