Pol  Rev 533
ExportedFunction Class Reference

#include <syshook.h>

+ Collaboration diagram for ExportedFunction:

List of all members.

Public Member Functions

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

Private Attributes

ExportScriptexport_script
unsigned PC

Detailed Description

Definition at line 23 of file syshook.h.


Constructor & Destructor Documentation

ExportedFunction::ExportedFunction ( ExportScript shs,
unsigned  in_PC 
)

SystemHookScript functions: CheckSkill( who, skillid, difficulty, points )

Definition at line 33 of file syshook.cpp.

Definition at line 38 of file syshook.cpp.

References export_script, and PC.


Member Function Documentation

bool ExportedFunction::call ( BObjectImp p0,
BObjectImp p1 
)

Definition at line 52 of file syshook.cpp.

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

+ Here is the call graph for this function:

bool ExportedFunction::call ( BObjectImp p0,
BObjectImp p1,
BObjectImp p2 
)

Definition at line 56 of file syshook.cpp.

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

+ Here is the call graph for this function:

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

Definition at line 60 of file syshook.cpp.

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

+ Here is the call graph for this function:

Definition at line 74 of file syshook.cpp.

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

Referenced by Character::calc_single_attribute(), Character::calc_single_vital(), RepSystem::hilite_color_idx(), NPC::hilite_color_idx(), RepSystem::name_color(), and NPC::name_color().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 79 of file syshook.cpp.

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

+ Here is the call graph for this function:

Definition at line 84 of file syshook.cpp.

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

Referenced by Party::send_member_msg_private(), and Party::send_member_msg_public().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 90 of file syshook.cpp.

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

+ Here is the call graph for this function:

std::string ExportedFunction::call_string ( BObjectImp p0,
BObjectImp p1 
)

Definition at line 65 of file syshook.cpp.

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

+ Here is the call graph for this function:

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

Definition at line 69 of file syshook.cpp.

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

+ Here is the call graph for this function:

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

Definition at line 43 of file syshook.cpp.

References export_script, and ExportScript::scriptname().

Referenced by hook().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


Member Data Documentation

unsigned ExportedFunction::PC [private]

Definition at line 45 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: