Planeshift
NameGenerationSystem Class Reference

#include <namegenerator.h>

Public Member Functions

void GenerateName (int generator_type, csString &namebuffer, int length_low, int length_high)
 Generate a name of the requested type, fill it into namebuffer. More...
 
bool LoadDatabase (iObjectRegistry *objectReg)
 Load all name rules into memory for future use. More...
 
 NameGenerationSystem ()
 
 ~NameGenerationSystem ()
 

Detailed Description

Definition at line 129 of file namegenerator.h.

Constructor & Destructor Documentation

NameGenerationSystem::NameGenerationSystem ( )
NameGenerationSystem::~NameGenerationSystem ( )

Member Function Documentation

void NameGenerationSystem::GenerateName ( int  generator_type,
csString &  namebuffer,
int  length_low,
int  length_high 
)

Generate a name of the requested type, fill it into namebuffer.

bool NameGenerationSystem::LoadDatabase ( iObjectRegistry *  objectReg)

Load all name rules into memory for future use.


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