Experimenting with request/response struct names for non global RPCs
Publish PHP Package / docker (push) Successful in 7s
Details
Publish PHP Package / docker (push) Successful in 7s
Details
This commit is contained in:
parent
5dcffe2c80
commit
593b1670a0
|
@ -678,9 +678,9 @@ class mtgMetaInfoParser
|
|||
{ return $this->_nextIf(self::T_End); }
|
||||
);
|
||||
|
||||
$req = new mtgMetaPacket($code, $is_global ? "RPC_REQ_$name" : $name);
|
||||
$req = new mtgMetaPacket($code, $is_global ? "RPC_REQ_$name" : "REQ_$name");
|
||||
$req->setFields($req_fields);
|
||||
$rsp = new mtgMetaPacket($code, $is_global ? "RPC_RSP_$name" : $name);
|
||||
$rsp = new mtgMetaPacket($code, $is_global ? "RPC_RSP_$name" : "RSP_$name");
|
||||
$rsp->setFields($rsp_fields);
|
||||
|
||||
$rpc = new mtgMetaRPC($is_global ? "RPC_$name" : $name, $code, $req, $rsp, $tokens);
|
||||
|
|
Loading…
Reference in New Issue