The game server communicates with GSE over gRPC. The gRPC framework can be integrated with the game server program in various programming languages to generate game server executable files. For more information on how to integrate GSE with the server in different languages, please see gRPC - C++ Tutorial, gRPC - C# Tutorial, gRPC - Go Tutorial, gRPC - Java Tutorial, gRPC - Lua Tutorial, and gRPC - Node.js Tutorial. For other languages, please see the gRPC official documentation.
You can get the server address (IP:port) by creating or placing a game server session.
Call a TencentCloud API:
The client TencentCloud API call process varies by supporting mode of the game server session.
For more information on how to call TencentCloud APIs, please see Creating Game Server Session.
For more information on how to call the TencentCloud APIs, please see Placing Game Server Session.
The client can connect to the target server through the
IP:port returned in step 3.