Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

NxwCharWrapper Class Reference

#include <set.h>

Inheritance diagram for NxwCharWrapper:

NxwSerialWrapper NxwWrapper List of all members.

Public Methods

 NxwCharWrapper ()
 Constructor.

 NxwCharWrapper (const NxwCharWrapper &that)
 ~NxwCharWrapper ()
 Destructor.

P_CHAR getChar ()
 Get the current char and after move to next.

void insertChar (P_CHAR pc)
 Insert a new char.

void fillOwnedNpcs (P_CHAR pc, LOGICAL bIncludeStabled=true, LOGICAL bOnlyFollowing=false)
 Fills a set with a list of npcs owned by a char.

void fillCharsAtXY (Location location, LOGICAL bExcludeOfflinePlayers=true, LOGICAL bOnlyPlayer=false)
 Fills with a list of chars at given location.

void fillCharsAtXY (UI16 x, UI16 y, LOGICAL bExcludeOfflinePlayers=true, LOGICAL bOnlyPlayer=false)
 Fills with a list of chars at given location.

void fillCharsNearXYZ (UI16 x, UI16 y, int nDistance=VISRANGE, LOGICAL bExcludeOfflinePlayers=true, LOGICAL bOnlyPlayer=false)
 Fills a set with a list of char near x, y.

void fillCharsNearXYZ (Location location, int nDistance=VISRANGE, LOGICAL bExcludeOfflinePlayers=true, LOGICAL bOnlyPlayer=false)
 Fills a set with a list of char near location.

void fillPartyFriend (P_CHAR pc, UI32 nDistance=VISRANGE, LOGICAL bExcludeThis=false)
 Fills a set with a list of char in same party of given char.

void fillNpcsNearXY (UI16 x, UI16 y, int nDistance=VISRANGE)
 Fills a set with a list of npcs near location.

void fillNpcsNear (P_CHAR pc, int nDistance=VISRANGE)
 Fills a set with a list of npcs near char.

void fillNpcsNear (P_ITEM pi, int nDistance=VISRANGE)
 Fills a set with a list of npcs near item.

void fillGuildMembers (SERIAL guild)
 Fills a set with a list of member in given guild.

void fillGuildRecruits (SERIAL guild)
 Fills a set with a list of recruit in given guild.

void fillCoOwners (SERIAL house)
 Fills a set with a list of house coowners.

void fillFriends (SERIAL house)
 Fills a set with a list of house coowners.

void fillBanned (SERIAL house)
 Fills a set with a list of house coowners.

void fillCharsInsideHouse (SERIAL house)
 Fills a set with a list of pcs and npcs inside (meaning within the house limits).

void fillCharsOutsideHouse (SERIAL house)
 Fills a set with a list of house coowners.


Constructor & Destructor Documentation

NxwCharWrapper::NxwCharWrapper  
 

Constructor.

NxwCharWrapper::NxwCharWrapper const NxwCharWrapper &    that
 

NxwCharWrapper::~NxwCharWrapper  
 

Destructor.


Member Function Documentation

void NxwCharWrapper::fillBanned SERIAL    house
 

Fills a set with a list of house coowners.

Author:
Wintermute
Parameters:
house  the house
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillCharsAtXY UI16    x,
UI16    y,
LOGICAL    bExcludeOfflinePlayers = true,
LOGICAL    bOnlyPlayer = false
 

Fills with a list of chars at given location.

Author:
Luxor
Parameters:
location  the location

void NxwCharWrapper::fillCharsAtXY Location    location,
LOGICAL    bExcludeOfflinePlayers = true,
LOGICAL    bOnlyPlayer = false
 

Fills with a list of chars at given location.

Author:
Luxor
Parameters:
location  the location

void NxwCharWrapper::fillCharsInsideHouse SERIAL    house
 

Fills a set with a list of pcs and npcs inside (meaning within the house limits).

Author:
Wintermute
Parameters:
house  the house
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillCharsNearXYZ Location    location,
int    nDistance = VISRANGE,
LOGICAL    bExcludeOfflinePlayers = true,
LOGICAL    bOnlyPlayer = false
 

Fills a set with a list of char near location.

Author:
Endymion
Parameters:
location  the location
nDistance  the distance requested
bExcludeOfflinePlayers  if true exclude offline players from search
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillCharsNearXYZ UI16    x,
UI16    y,
int    nDistance = VISRANGE,
LOGICAL    bExcludeOfflinePlayers = true,
LOGICAL    bOnlyPlayer = false
 

Fills a set with a list of char near x, y.

Author:
Endymion
Parameters:
x  the x location
y  the y location
nDistance  the distance requested
bExcludeOfflinePlayers  if true exclude offline players from search
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillCharsOutsideHouse SERIAL    house
 

Fills a set with a list of house coowners.

Author:
Wintermute
Parameters:
house  the house
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillCoOwners SERIAL    house
 

Fills a set with a list of house coowners.

Author:
Wintermute
Parameters:
house  the house
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillFriends SERIAL    house
 

Fills a set with a list of house coowners.

Author:
Wintermute
Parameters:
house  the house
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillGuildMembers SERIAL    guild
 

Fills a set with a list of member in given guild.

Author:
Endymion
Parameters:
guild  the guild
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillGuildRecruits SERIAL    guild
 

Fills a set with a list of recruit in given guild.

Author:
Endymion
Parameters:
guild  the guild
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillNpcsNear P_ITEM    pi,
int    nDistance = VISRANGE
 

Fills a set with a list of npcs near item.

Author:
Endymion
Parameters:
pi  the item
nDistance  the distance requested
Warning:
this function ADD new char to current list
Note:
location is true, of the in world container

void NxwCharWrapper::fillNpcsNear P_CHAR    pc,
int    nDistance = VISRANGE
 

Fills a set with a list of npcs near char.

Author:
Endymion
Parameters:
pc  the char
nDistance  the distance requested
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillNpcsNearXY UI16    x,
UI16    y,
int    nDistance = VISRANGE
 

Fills a set with a list of npcs near location.

Author:
Endymion
Parameters:
x  the x location
y  the y location
nDistance  the distance requested
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillOwnedNpcs P_CHAR    pc,
LOGICAL    bIncludeStabled = true,
LOGICAL    bOnlyFollowing = false
 

Fills a set with a list of npcs owned by a char.

Author:
Endymion
Parameters:
pc  the char
bIncludeStabled  if true stabled pets should be included
bOnlyFollowing  if true only following pets should be included
Warning:
this function ADD new char to current list

void NxwCharWrapper::fillPartyFriend P_CHAR    pc,
UI32    nDistance = VISRANGE,
LOGICAL    bExcludeThis = false
 

Fills a set with a list of char in same party of given char.

Author:
Endymion
Parameters:
pc  the player
nDistance  the distance requested
bExcludeThis  if true exclude this
nDistance  maximum distance from the player
Warning:
this function ADD new char to current list
Note:
offline player are not added

P_CHAR NxwCharWrapper::getChar  
 

Get the current char and after move to next.

Author:
Endymion
Returns:
ptr to the current char

void NxwCharWrapper::insertChar P_CHAR    pc
 

Insert a new char.

Author:
Endymion
Parameters:
pc  the char


The documentation for this class was generated from the following files: SourceForge.net Logo