xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Aurora::NWScript::ObjectReference Class Reference

#include <objectref.h>

Public Member Functions

 ObjectReference ()
 ObjectReference (const Object *object)
uint32 getId () const
Objectoperator* () const
ObjectReferenceoperator= (const ObjectReference &objref)
ObjectReferenceoperator= (const Object *object)
bool operator== (const ObjectReference &objref)

Private Attributes

uint32 _id

Detailed Description

Definition at line 37 of file objectref.h.

Constructor & Destructor Documentation

◆ ObjectReference() [1/2]

Aurora::NWScript::ObjectReference::ObjectReference ( )

Definition at line 35 of file objectref.cpp.

◆ ObjectReference() [2/2]

Aurora::NWScript::ObjectReference::ObjectReference ( const Object object)

Definition at line 38 of file objectref.cpp.

Member Function Documentation

◆ getId()

uint32 Aurora::NWScript::ObjectReference::getId ( ) const

Definition at line 41 of file objectref.cpp.

References _id.

◆ operator*()

Object * Aurora::NWScript::ObjectReference::operator* ( ) const

Definition at line 45 of file objectref.cpp.

References _id, Aurora::kObjectIDInvalid, and ObjectMan.

◆ operator=() [1/2]

ObjectReference & Aurora::NWScript::ObjectReference::operator= ( const ObjectReference objref)

Definition at line 52 of file objectref.cpp.

References _id.

◆ operator=() [2/2]

ObjectReference & Aurora::NWScript::ObjectReference::operator= ( const Object object)

Definition at line 57 of file objectref.cpp.

References _id, and Aurora::kObjectIDInvalid.

◆ operator==()

bool Aurora::NWScript::ObjectReference::operator== ( const ObjectReference objref)

Definition at line 62 of file objectref.cpp.

References _id.

Member Data Documentation

◆ _id

uint32 Aurora::NWScript::ObjectReference::_id

Definition at line 52 of file objectref.h.

Referenced by getId(), operator*(), operator=(), and operator==().

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