Crossfire Server, Trunk
HookInformation Class Reference

#include <ScriptFile.h>

+ Collaboration diagram for HookInformation:

Public Member Functions

QString eventName () const
 
 HookInformation (CREMapInformation *map, int x, int y, const QString &itemName, const QString &pluginName, const QString &eventName)
 
QString itemName () const
 
const CREMapInformationmap () const
 
QString pluginName () const
 
int x () const
 
int y () const
 

Private Attributes

QString myEventName
 
QString myItemName
 
CREMapInformationmyMap
 
QString myPluginName
 
int myX
 
int myY
 

Detailed Description

Information about an event hook, linked to a script file.

Definition at line 23 of file ScriptFile.h.

Constructor & Destructor Documentation

◆ HookInformation()

HookInformation::HookInformation ( CREMapInformation map,
int  x,
int  y,
const QString &  itemName,
const QString &  pluginName,
const QString &  eventName 
)

Definition at line 71 of file ScriptFile.cpp.

References eventName(), itemName(), map(), myEventName, myItemName, myMap, myPluginName, myX, myY, pluginName(), x(), and y().

+ Here is the call graph for this function:

Member Function Documentation

◆ eventName()

QString HookInformation::eventName ( ) const

Definition at line 106 of file ScriptFile.cpp.

References myEventName.

Referenced by HookInformation(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().

+ Here is the caller graph for this function:

◆ itemName()

QString HookInformation::itemName ( ) const

Definition at line 96 of file ScriptFile.cpp.

References myItemName.

Referenced by HookInformation(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().

+ Here is the caller graph for this function:

◆ map()

const CREMapInformation * HookInformation::map ( ) const

Definition at line 81 of file ScriptFile.cpp.

References myMap.

Referenced by ScriptFile::forMap(), HookInformation(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().

+ Here is the caller graph for this function:

◆ pluginName()

QString HookInformation::pluginName ( ) const

Definition at line 101 of file ScriptFile.cpp.

References myPluginName.

Referenced by HookInformation(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().

+ Here is the caller graph for this function:

◆ x()

int HookInformation::x ( ) const

Definition at line 86 of file ScriptFile.cpp.

References myX.

Referenced by HookInformation(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().

+ Here is the caller graph for this function:

◆ y()

int HookInformation::y ( ) const

Definition at line 91 of file ScriptFile.cpp.

References myY.

Referenced by HookInformation(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().

+ Here is the caller graph for this function:

Field Documentation

◆ myEventName

QString HookInformation::myEventName
private

Definition at line 40 of file ScriptFile.h.

Referenced by eventName(), and HookInformation().

◆ myItemName

QString HookInformation::myItemName
private

Definition at line 38 of file ScriptFile.h.

Referenced by HookInformation(), and itemName().

◆ myMap

CREMapInformation* HookInformation::myMap
private

Definition at line 35 of file ScriptFile.h.

Referenced by HookInformation(), and map().

◆ myPluginName

QString HookInformation::myPluginName
private

Definition at line 39 of file ScriptFile.h.

Referenced by HookInformation(), and pluginName().

◆ myX

int HookInformation::myX
private

Definition at line 36 of file ScriptFile.h.

Referenced by HookInformation(), and x().

◆ myY

int HookInformation::myY
private

Definition at line 37 of file ScriptFile.h.

Referenced by HookInformation(), and y().


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