API Reference ExVenture v0.1.0

Modules

ExVenture keeps the contexts that define your domain and business logic.

API Keys to lock down the API

Characters are controlled by players to act inside of the game

Schema for a character controlled by a player

Schema for a character controlled by a player

Load configuration for the application

Create persistent terms for application configuration

Common module for dealing with image conversion

Structures and functions for dealing with minimaps of zones and rooms

Cell of the MiniMap

Struct for tracking if a cell has a connection to another node

Migrate the database

Seed the database

CRUD Rooms

Schema for Rooms

Context for staging changes to structs

Schema for a staged change

A database type that converts an atom to string and back

A database type that converts erlang terms to binary and back

Users context

Handle uploading avatars to remote storage for users

User schema

CRUD Zones

Schema for Zones

Load and parse brain data into behavior tree structs

A static emote that players can use via a command

Action to emote in a channel (e.g. a room)

Action to flee to a random exit in a room

Initial events to kick off when a character starts

Specific metadata for a world character in Kantele

Specific metadata for a character in Kantele

Kalevala presense tracker

Action to speak in a channel (e.g. a room)

Character vital information

Action to pick a random exit and move

Game configuration for Kantele

Structures and functions for dealing with minimaps of zones and rooms

Cell of the MiniMap

Struct for tracking if a cell has a connection to another node

Parse admin specific tags

Wrap tags in command tags to send text by clicking

Helper macros for defining semantic colors

Transform semantic tags into color tags

Process tags to wrap in a tooltip tag

GenServer to load and boot the world

Item metadata, implements Kalevala.Meta

Kicks off the world by loading and booting it

Load the world from data files

Callbacks for a Kalevala room

Callbacks for a Kalevala zone

Cache for world data

Web

The entrypoint for defining your web interface, such as controllers, views, channels and so on.

Conveniences for translating and building error messages.

A module providing Internationalization with a gettext-based API.

Set the active admin side tab

Verify a user is in the session

Verify a user is in the session

Plug for fetching page parameters and adding to assigns

Fetch a user from the session

Validate the bearer token for the API

Module with named helpers generated from Web.Router.