Public Methods |
| void | DeleteChar (CChar *k) |
| CHARACTER | MemCharFree (bool zeroSer=false) |
| CItem * | addRandomLoot (CItem *s, char *lootlist) |
| CChar * | CreateRandomNpc (cSocket *s, char *npclist) |
| CChar * | SpawnNPC (CItem *i, cSpawnRegion *spawnReg, int npcNum) |
| CChar * | AddNPC (cSocket *s, cSpawnRegion *spawnReg, int npcNum) |
| CChar * | AddNPCxyz (cSocket *s, int npcNum, SI16 x1, SI16 y1, SI08 z1) |
| void | Split (CChar *k) |
| void | CheckAI (UI32 currenttime, CChar *i) |
| void | LoadShopList (char *list, CChar *c) |
| CChar * | getGuardingPet (CChar *mChar, SERIAL guarded) |
| bool | checkPetFriend (CChar *mChar, CChar *pet) |
| void | stopPetGuarding (CChar *pet) |
Private Methods |
| void | FindSpotForNPC (CChar *c, SI16 originX, SI16 originY, SI16 xAway, SI16 yAway, SI08 z) |
| CChar * | CreateScriptNpc (cSocket *s, int targNPC) |
| bool | ApplyNpcSection (CChar *applyTo, ScriptSection *NpcCreation) |