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