Planeshift
Public Member Functions | Public Attributes

NetBase::AccessPointers Struct Reference

Struct used by MessageCracker and ToString to distribute a number of access pointers. More...

#include <netbase.h>

List of all members.

Public Member Functions

const char * Request (csStringID id) const
 Utility function that either request from the msgstring or from the message has depending on who that is set.
csStringID Request (const char *string) const
 Utility function that either request from the msgstring or from the message has depending on who that is set.

Public Attributes

iEngine * engine
csStringSet * msgstrings
csStringHashReversible * msgstringshash

Detailed Description

Struct used by MessageCracker and ToString to distribute a number of access pointers.

Collect all in one struct instead of creating multiple arguments that would be hard to maintain.

Definition at line 125 of file netbase.h.


Member Function Documentation

const char* NetBase::AccessPointers::Request ( csStringID  id) const

Utility function that either request from the msgstring or from the message has depending on who that is set.

Returns:
NULL if not found, or the string if found.
csStringID NetBase::AccessPointers::Request ( const char *  string) const

Utility function that either request from the msgstring or from the message has depending on who that is set.

Returns:
csInvalidStringID if not found, or the csStringID for the string if found.

Member Data Documentation

Definition at line 132 of file netbase.h.

Definition at line 130 of file netbase.h.

csStringHashReversible* NetBase::AccessPointers::msgstringshash

Definition at line 131 of file netbase.h.


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