Nebula
Loading...
Searching...
No Matches
api.h File Reference

Detailed Description

The main programming interface for the Game Subsystem.

#include "core/ptr.h"
#include "category.h"
#include "entity.h"
#include "memdb/tableid.h"
#include "filter.h"
#include "dataset.h"

Go to the source code of this file.

Namespaces

namespace  MemDb
 Attribute.
 
namespace  Game
 Game::EditorState.
 

Macros

#define WORLD_DEFAULT   Game::WorldHash{'DWLD'}
 

Functions

WorldGame::GetWorld (WorldHash worldHash)
 returns a world by hash
 
WorldGame::GetWorld (WorldId worldId)
 returns a world by id
 
void Game::DestroyFilter (Filter)
 Destroy a filter.
 
Game::Dataset Game::Query (Ptr< MemDb::Database > const &db, Util::Array< MemDb::TableId > &tables, Filter filter)
 Query a subset of tables in a specific db using a specified filter set.
 
void Game::ReleaseDatasets ()
 Recycles all current datasets allocated memory to be reused.
 
BlueprintId Game::GetBlueprintId (Util::StringAtom name)
 Returns a blueprint id by name.
 
TemplateId Game::GetTemplateId (Util::StringAtom name)
 Returns a template id by name.
 

Macro Definition Documentation

◆ WORLD_DEFAULT

#define WORLD_DEFAULT   Game::WorldHash{'DWLD'}