Planeshift
psNPCLoader Class Reference

This is a utility class used to load/save NPCs from/to an XML file Was used in the past to load NPCs created by people with no access to the database or webconsole. More...

#include <psnpcloader.h>

Public Member Functions

bool LoadDialogsFromFile (csString &filename)
 
bool LoadFromFile (csString &filename)
 
bool RemoveFromDatabase (int npcid)
 
bool SaveDialogsToFile (csString &area, csString &filename, int questid, bool quest)
 
bool SaveToFile (int id, csString &filename)
 

Detailed Description

This is a utility class used to load/save NPCs from/to an XML file Was used in the past to load NPCs created by people with no access to the database or webconsole.

Definition at line 49 of file psnpcloader.h.

Member Function Documentation

bool psNPCLoader::LoadDialogsFromFile ( csString &  filename)
bool psNPCLoader::LoadFromFile ( csString &  filename)
bool psNPCLoader::RemoveFromDatabase ( int  npcid)
bool psNPCLoader::SaveDialogsToFile ( csString &  area,
csString &  filename,
int  questid,
bool  quest 
)
bool psNPCLoader::SaveToFile ( int  id,
csString &  filename 
)

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