asobi_bot_spawner (asobi v0.72.6)

View Source

Watches the matchmaker queue and fills with bots when players are waiting. Also starts bot AI processes when bots join matches.

Bot names are read from the bot script's names global. If not defined, falls back to default generated names.

Summary

Functions

handle_call/3

-spec handle_call(term(), gen_server:from(), map()) -> {reply, ok, map()}.

handle_cast/2

-spec handle_cast(term(), map()) -> {noreply, map()}.

handle_info/2

-spec handle_info(term(), map()) -> {noreply, map()}.

init/1

-spec init([]) -> {ok, map()}.

start_link()

-spec start_link() -> gen_server:start_ret().