Pol  Rev 533
JusticeRegion Class Reference

#include <guardrgn.h>

+ Inheritance diagram for JusticeRegion:
+ Collaboration diagram for JusticeRegion:

List of all members.

Public Member Functions

 JusticeRegion (ConfigElem &elem)
const std::string & entertext () const
const std::string & leavetext () const
const std::string & region_name () const
bool RunEnterScript (Character *chr)
bool RunLeaveScript (Character *chr)
bool RunNoCombatCheck (Client *client)

Private Types

typedef Region base

Private Attributes

std::string enter_script_
std::string entertext_
bool guarded_
std::string leave_script_
std::string leavetext_
bool nocombat_
std::string region_name_

Detailed Description

Definition at line 20 of file guardrgn.h.


Member Typedef Documentation

typedef Region JusticeRegion::base [private]

Definition at line 22 of file guardrgn.h.


Constructor & Destructor Documentation

Definition at line 28 of file guardrgn.cpp.


Member Function Documentation

const std::string & JusticeRegion::entertext ( ) const [inline]

Definition at line 49 of file guardrgn.h.

References entertext_.

Referenced by Character::check_justice_region_change().

+ Here is the caller graph for this function:

const std::string & JusticeRegion::leavetext ( ) const [inline]

Definition at line 54 of file guardrgn.h.

References leavetext_.

Referenced by Character::check_justice_region_change().

+ Here is the caller graph for this function:

const std::string & JusticeRegion::region_name ( ) const [inline]

Definition at line 44 of file guardrgn.h.

References region_name_.

Referenced by UOExecutorModule::mf_GetRegionName(), and UOExecutorModule::mf_GetRegionNameAtLocation().

+ Here is the caller graph for this function:

Definition at line 52 of file guardrgn.cpp.

References ScriptDef::config_nodie(), enter_script_, ScriptDef::exists(), BObjectImp::isTrue(), region_name_, and run_script_to_completion().

Referenced by Character::check_justice_region_change().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 67 of file guardrgn.cpp.

References ScriptDef::config_nodie(), ScriptDef::exists(), BObjectImp::isTrue(), leave_script_, region_name_, and run_script_to_completion().

Referenced by Character::check_justice_region_change().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 82 of file guardrgn.cpp.

References Client::gd, ClientGameData::justice_region, and nocombat_.

Referenced by Character::check_justice_region_change(), handle_attack(), and TargetCursor::handle_target_cursor().

+ Here is the caller graph for this function:


Member Data Documentation

std::string JusticeRegion::enter_script_ [private]

Definition at line 40 of file guardrgn.h.

Referenced by RunEnterScript().

std::string JusticeRegion::entertext_ [private]

Definition at line 38 of file guardrgn.h.

Referenced by entertext().

bool JusticeRegion::guarded_ [private]

Definition at line 35 of file guardrgn.h.

std::string JusticeRegion::leave_script_ [private]

Definition at line 41 of file guardrgn.h.

Referenced by RunLeaveScript().

std::string JusticeRegion::leavetext_ [private]

Definition at line 39 of file guardrgn.h.

Referenced by leavetext().

bool JusticeRegion::nocombat_ [private]

Definition at line 36 of file guardrgn.h.

Referenced by RunNoCombatCheck().

std::string JusticeRegion::region_name_ [private]

Definition at line 37 of file guardrgn.h.

Referenced by region_name(), RunEnterScript(), and RunLeaveScript().


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