Pol  Rev 533
CharacterRef Class Reference

#include <reftypes.h>

+ Inheritance diagram for CharacterRef:
+ Collaboration diagram for CharacterRef:

List of all members.

Public Member Functions

 CharacterRef (Character *chr)
 CharacterRef (const CharacterRef &rptr)
 ~CharacterRef ()
void clear ()
CharacterRefoperator= (const CharacterRef &rptr)
void set (Character *chr)

Public Attributes

unsigned int cref_instance

Detailed Description

Definition at line 47 of file reftypes.h.


Constructor & Destructor Documentation

CharacterRef::CharacterRef ( Character chr) [explicit]

Definition at line 62 of file reftypes.cpp.

References characterrefs, cref_instance, crefs, crefs_count, and hits.

Definition at line 76 of file reftypes.cpp.

References characterrefs, cref_instance, crefs, crefs_count, and hits.

Definition at line 90 of file reftypes.cpp.

References characterrefs, cref_instance, crefs, and hits.


Member Function Documentation

Reimplemented from ref_ptr< Character >.

Definition at line 127 of file reftypes.cpp.

References cref_instance, crefs, and hits.

Referenced by cancel_trade(), UOExecutorModule::mf_SetScriptController(), and NPC::script_method_id().

+ Here is the caller graph for this function:

CharacterRef & CharacterRef::operator= ( const CharacterRef rptr)

Definition at line 104 of file reftypes.cpp.

References ref_ptr< T >::get().

+ Here is the call graph for this function:


Member Data Documentation

Definition at line 58 of file reftypes.h.

Referenced by CharacterRef(), clear(), set(), and ~CharacterRef().


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