Pol  Revision:4b29d2b
Pol::Core::ExportedFunction Class Reference

#include <syshook.h>

Public Member Functions

 ExportedFunction (ExportScript *, unsigned PC)
 
 ~ExportedFunction ()
 
bool call (Bscript::BObjectImp *p0)
 
bool call (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1)
 
bool call (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1, Bscript::BObjectImp *p2)
 
bool call (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1, Bscript::BObjectImp *p2, Bscript::BObjectImp *p3)
 
int call_long (Bscript::BObjectImp *p0)
 
int call_long (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1)
 
Bscript::BObject call_object (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1)
 
Bscript::BObject call_object (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1, Bscript::BObjectImp *p2)
 
std::string call_string (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1)
 
std::string call_string (Bscript::BObjectImp *p0, Bscript::BObjectImp *p1, Bscript::BObjectImp *p2)
 
const std::string & scriptname () const
 

Private Attributes

ExportScriptexport_script
 
unsigned PC
 

Detailed Description

Definition at line 32 of file syshook.h.

Constructor & Destructor Documentation

Pol::Core::ExportedFunction::ExportedFunction ( ExportScript shs,
unsigned  PC 
)

Definition at line 30 of file syshook.cpp.

Pol::Core::ExportedFunction::~ExportedFunction ( )

Definition at line 34 of file syshook.cpp.

References export_script, and PC.

Member Function Documentation

bool Pol::Core::ExportedFunction::call ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1 
)

Definition at line 48 of file syshook.cpp.

References Pol::Core::ExportScript::call(), export_script, and PC.

bool Pol::Core::ExportedFunction::call ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1,
Bscript::BObjectImp p2 
)

Definition at line 52 of file syshook.cpp.

References Pol::Core::ExportScript::call(), export_script, and PC.

bool Pol::Core::ExportedFunction::call ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1,
Bscript::BObjectImp p2,
Bscript::BObjectImp p3 
)

Definition at line 56 of file syshook.cpp.

References Pol::Core::ExportScript::call(), export_script, and PC.

int Pol::Core::ExportedFunction::call_long ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1 
)

Definition at line 75 of file syshook.cpp.

References Pol::Core::ExportScript::call_long(), export_script, and PC.

BObject Pol::Core::ExportedFunction::call_object ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1 
)
BObject Pol::Core::ExportedFunction::call_object ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1,
Bscript::BObjectImp p2 
)

Definition at line 85 of file syshook.cpp.

References Pol::Core::ExportScript::call_object(), export_script, and PC.

std::string Pol::Core::ExportedFunction::call_string ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1 
)

Definition at line 61 of file syshook.cpp.

References Pol::Core::ExportScript::call_string(), export_script, and PC.

std::string Pol::Core::ExportedFunction::call_string ( Bscript::BObjectImp p0,
Bscript::BObjectImp p1,
Bscript::BObjectImp p2 
)

Definition at line 65 of file syshook.cpp.

References Pol::Core::ExportScript::call_string(), export_script, and PC.

const std::string & Pol::Core::ExportedFunction::scriptname ( ) const

Definition at line 39 of file syshook.cpp.

References export_script, and Pol::Core::ExportScript::scriptname().

Referenced by Pol::Core::hook().

Member Data Documentation

ExportScript* Pol::Core::ExportedFunction::export_script
private

Definition at line 57 of file syshook.h.

Referenced by call(), call_long(), call_object(), call_string(), scriptname(), and ~ExportedFunction().

unsigned Pol::Core::ExportedFunction::PC
private

Definition at line 58 of file syshook.h.

Referenced by call(), call_long(), call_object(), call_string(), and ~ExportedFunction().


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