Planeshift
psAdviceRequestTimeoutGameEvent Class Reference

#include <advicemanager.h>

Public Member Functions

virtual void DeleteObjectCallback (iDeleteNotificationObject *object)
 
 psAdviceRequestTimeoutGameEvent (AdviceManager *mgr, int delayticks, gemActor *advisee, AdviceSession *adviceRequest)
 
virtual void Trigger ()
 Abstract event processing function. More...
 
virtual ~psAdviceRequestTimeoutGameEvent ()
 
- Public Member Functions inherited from psGEMEvent
 psGEMEvent (csTicks ticks, int offsetticks, gemObject *depends, const char *newType)
 
virtual ~psGEMEvent ()
 
- Public Member Functions inherited from psGameEvent
virtual bool CheckTrigger ()
 Called right before a Trigger is called. More...
 
const char * GetType ()
 Return the type that this event where created with. More...
 
virtual bool IsValid ()
 Return the valid flag. More...
 
bool operator< (const psGameEvent &other) const
 
bool operator== (const psGameEvent &other) const
 
bool operator> (const psGameEvent &other) const
 
 psGameEvent (csTicks ticks, int offsetticks, const char *newType)
 Construct a new game event. More...
 
void QueueEvent ()
 Publish the game event to the local program. More...
 
virtual void SetValid (bool valid)
 Set the valid flag. More...
 
virtual csString ToString () const
 Return a string with information about the event. More...
 
virtual ~psGameEvent ()
 
- Public Member Functions inherited from iDeleteObjectCallback
virtual ~iDeleteObjectCallback ()
 

Public Attributes

AdviceSession * adviceSession
 
- Public Attributes inherited from psGEMEvent
csWeakRef< gemObjectdependency
 
- Public Attributes inherited from psGameEvent
csTicks delayticks
 delay before the event starts More...
 
int id
 id value combined with ticks ensures uniqueness for tree More...
 
csTicks triggerticks
 ticks value when event should be triggered. More...
 
bool valid
 Set this to false if the trigger should not be fired. More...
 

Protected Attributes

AdviceManageradvicemanager
 
gemActoradviseeActor
 
gemActoradvisorActor
 

Additional Inherited Members

- Static Public Attributes inherited from psGameEvent
static EventManagereventmanager
 
static int nextid
 id counter sequence More...
 

Detailed Description

Definition at line 165 of file advicemanager.h.

Constructor & Destructor Documentation

psAdviceRequestTimeoutGameEvent::psAdviceRequestTimeoutGameEvent ( AdviceManager mgr,
int  delayticks,
gemActor advisee,
AdviceSession *  adviceRequest 
)
virtual psAdviceRequestTimeoutGameEvent::~psAdviceRequestTimeoutGameEvent ( )
virtual

Member Function Documentation

virtual void psAdviceRequestTimeoutGameEvent::DeleteObjectCallback ( iDeleteNotificationObject object)
virtual

Reimplemented from psGEMEvent.

virtual void psAdviceRequestTimeoutGameEvent::Trigger ( )
virtual

Abstract event processing function.

This functino have to be overridden and will be called if CheckTrigger is ok at the time given in the constructor.

Implements psGameEvent.

Member Data Documentation

AdviceManager* psAdviceRequestTimeoutGameEvent::advicemanager
protected

Definition at line 168 of file advicemanager.h.

AdviceSession* psAdviceRequestTimeoutGameEvent::adviceSession

Definition at line 173 of file advicemanager.h.

gemActor* psAdviceRequestTimeoutGameEvent::adviseeActor
protected

Definition at line 169 of file advicemanager.h.

gemActor* psAdviceRequestTimeoutGameEvent::advisorActor
protected

Definition at line 170 of file advicemanager.h.


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