Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
api_readers.cpp File Reference
#include "api_readers.h"
#include "../Common/MyString.h"
#include "../Phasor/Halo/Game/Objects.h"
#include "../Phasor/Halo/tags.h"

Functions

std::vector< std::wstring > ReadString (Object &obj)
 
std::string ReadRawString (Common::Object &obj)
 
void RaisePlayerError (Manager::CallHandler &handler, int player_id)
 
halo::s_playerReadPlayer (CallHandler &handler, Object &playerObj, bool strict)
 
bool ReadBoolean (const Common::Object &obj)
 
void * ReadHaloObject (CallHandler &handler, const Common::Object &obj, bool allow_invalid, halo::ident &objid)
 
halo::s_tag_entryReadHaloTag (CallHandler &handler, const Common::Object &obj, halo::ident &tagid)
 
void AddResultNil (Common::Object::unique_list &results)
 
void AddResultString (const std::string &str, Object::unique_list &results)
 
void AddResultString (const std::wstring &str, Object::unique_list &results)
 
void AddResultNumber (double value, Object::unique_list &results)
 
void AddResultBool (bool b, Object::unique_list &results)
 
void AddResultPtr (void *ptr, Object::unique_list &results)
 
void AddResultTable (const std::vector< std::string > &data, Object::unique_list &results)
 

Function Documentation

void AddResultBool ( bool  b,
Object::unique_list results 
)
void AddResultNil ( Common::Object::unique_list results)
void AddResultNumber ( double  value,
Object::unique_list results 
)
void AddResultPtr ( void *  ptr,
Object::unique_list results 
)
void AddResultString ( const std::string &  str,
Object::unique_list results 
)
void AddResultString ( const std::wstring &  str,
Object::unique_list results 
)
void AddResultTable ( const std::vector< std::string > &  data,
Object::unique_list results 
)
void RaisePlayerError ( Manager::CallHandler handler,
int  player_id 
)
bool ReadBoolean ( const Common::Object obj)
void* ReadHaloObject ( CallHandler handler,
const Common::Object obj,
bool  allow_invalid,
halo::ident objid 
)
halo::s_tag_entry* ReadHaloTag ( CallHandler handler,
const Common::Object obj,
halo::ident tagid 
)
halo::s_player* ReadPlayer ( CallHandler handler,
Object playerObj,
bool  strict 
)
std::string ReadRawString ( Common::Object obj)
std::vector<std::wstring> ReadString ( Object obj)