GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::MixedApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT MixedApi (Env &e)
IMPORT MX mx_float (float val)
IMPORT MX mx_int (int val)
IMPORT MX mx_bool (bool val)
IMPORT MX mx_point (float x, float y, float z)
IMPORT MX mx_vector (float dx, float dy, float dz)
IMPORT MX mx_color (int r, int g, int b, int a)
IMPORT MX mx_pair (std::string name, MX val)
IMPORT MX mx_string (std::string value)
IMPORT MX mx_array (std::vector< MX > vec)
IMPORT int mx_size (MX arr)
IMPORT MX mx_index (MX arr, int idx)
IMPORT MX mx_find (MX arr, std::string name)
IMPORT float mx_to_float (MX val, float def=0.0)
IMPORT int mx_to_int (MX val, int def=-1)
IMPORT std::vector< std::string > mx_names (MX val)
IMPORT std::vector< MX > mx_values (MX val)

Constructor & Destructor Documentation

◆ MixedApi()

GameApi::MixedApi::MixedApi ( Env & e)

Member Function Documentation

◆ mx_array()

GameApi::MX GameApi::MixedApi::mx_array ( std::vector< MX > vec)

◆ mx_bool()

GameApi::MX GameApi::MixedApi::mx_bool ( bool val)

◆ mx_color()

GameApi::MX GameApi::MixedApi::mx_color ( int r,
int g,
int b,
int a )

◆ mx_find()

GameApi::MX GameApi::MixedApi::mx_find ( MX arr,
std::string name )

◆ mx_float()

GameApi::MX GameApi::MixedApi::mx_float ( float val)

◆ mx_index()

GameApi::MX GameApi::MixedApi::mx_index ( MX arr,
int idx )

◆ mx_int()

GameApi::MX GameApi::MixedApi::mx_int ( int val)

◆ mx_names()

std::vector< std::string > GameApi::MixedApi::mx_names ( MX val)

◆ mx_pair()

GameApi::MX GameApi::MixedApi::mx_pair ( std::string name,
MX val )

◆ mx_point()

GameApi::MX GameApi::MixedApi::mx_point ( float x,
float y,
float z )

◆ mx_size()

int GameApi::MixedApi::mx_size ( MX arr)

◆ mx_string()

GameApi::MX GameApi::MixedApi::mx_string ( std::string value)

◆ mx_to_float()

float GameApi::MixedApi::mx_to_float ( MX val,
float def = 0.0 )

◆ mx_to_int()

int GameApi::MixedApi::mx_to_int ( MX val,
int def = -1 )

◆ mx_values()

std::vector< GameApi::MX > GameApi::MixedApi::mx_values ( MX val)

◆ mx_vector()

GameApi::MX GameApi::MixedApi::mx_vector ( float dx,
float dy,
float dz )

The documentation for this class was generated from the following files: