asobi_game_modes (asobi v0.35.4)

View Source

Summary

Functions

Build a world server config map from a mode's game_modes config.

Functions

mode_config(Mode)

-spec mode_config(binary()) -> map().

resolve_game_module(Mode)

-spec resolve_game_module(binary()) -> {ok, module(), map()} | {error, not_found}.

world_config(Mode)

-spec world_config(binary()) -> {ok, map()} | {error, not_found}.

Build a world server config map from a mode's game_modes config.