API Reference game_server_sdk v#1.0.1070

Copy Markdown View Source

Modules

The Accounts context.

User struct from GameServer.

In-memory cache backed by Nebulex (2-level near-cache topology).

Context for chat messaging across lobbies, groups, and friend DMs.

Chat message struct from GameServer.

Virtual-currency wallets with an append-only ledger.

Friends context - handles friend requests and relationships.

Friendship struct from GameServer.

Context module for group management: creating, updating, listing, joining, leaving, kicking, promoting/demoting members, and handling join requests.

Group struct from GameServer.

GroupInvite struct from GameServer.

Behaviour for GameServer hooks/callbacks.

Player item stacks — the non-fungible companion to GameServer.Economy.

Durable background jobs, backed by Oban.

Generic key/value storage.

The Leaderboards context.

Leaderboard struct from GameServer.

Leaderboard record struct from GameServer.

Context module for lobby management: creating, updating, listing and searching lobbies.

Lobby struct from GameServer.

Serialized execution using database-level advisory locks.

Notifications context – create, list, and delete persisted user-to-user notifications.

Context module for party management.

Party struct from GameServer.

PartyInvite struct from GameServer.

Push context – device push-token registry and (see send_to_user/3) server-authoritative delivery of push notifications.

Validated push message struct from GameServer.

Registered device push token struct from GameServer.

Event-driven quest/progression engine.

Quest objective struct from GameServer.

Quest definition struct from GameServer.

Quest progress struct from GameServer.

Quest reward struct from GameServer.

Ready checks: these players must each answer before this proceeds.

Ready check struct from GameServer.

Ready check participant struct from GameServer.

Dynamic cron-like job scheduling for hooks.

Bracket tournaments: registration → seeded single-elimination draw → timed rounds → champions. See TOURNAMENT_DESIGN.md.

Tournament bracket struct from GameServer.

Tournament entry struct from GameServer.

Tournament match struct from GameServer.

Tournament struct from GameServer.

Shared types used across GameServer contexts.