query/game/<query_name>
query_name
is based on the name you passed in when registering the query on Cardinal’s main.go file. For example, if you registered a query with the name player-info
, the RPC endpoint will be query/game/player-info
.player-info
.
nakama/claim-persona
RPC endpoint.
The nakama/claim-persona
RPC endpoint takes in a JSON payload with a single parameter personaTag
that corresponds to the persona tag you want to claim.
tx/game/<msg_name>
msg_name
is based on the name you passed in when constructing the messaging using NewMessageType
in Cardinal. For example, if you registered a message with the name attack
, the RPC endpoint will be tx/game/attack
.attack
.