Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CMakeLists.txt
Dockerfile
Makefile
README.md
fleet.yaml
gameserver.yaml
server.cc

README.md

Simple C++ Example

This is a very simple "server" that doesn't do much other than show how the SDK works in C++.

It will

  • Setup the Agones SDK
  • Call SDK::Ready() to register that it is ready with Agones.
  • Every 10 seconds, write a log saying "Hi! I'm a Game Server"
  • After 60 seconds, call SDK::Shutdown() to shut the server down.

Building

Depends on the sdks/cpp SDK and its dependencies have been compiled and installed.

You can’t perform that action at this time.