Public Member Functions | Public Attributes

CMerc Class Reference

Inherits IMerc.

List of all members.

Public Member Functions

 CMerc ()
bool Spawn (Critter& master)
IMercDialog (int dialogid)
IMercScript (string& script)
IMercAI (int aipack)
IMercBag (int bagid)
IMercTeam (int teamid)
IMercLevel (int level)
IMercPID (int npcpid)
IMercPID (array< int > npcpids)
IMercType (int type)
IMercID (int id)
IMercDynamicPrice ()
bool IsDynamicPrice ()
IMercStartCost (int cost)
IMercCost (int cost)
IMercSellPrice (int sellprice)
int GetDialog ()
stringGetScript ()
int8 GetBaseType ()
int GetAIPack ()
int GetBagID ()
int GetTeamID ()
int GetLevel ()
int GetLastPID ()
array< int > GetPIDs ()
int GetCost ()
int GetBagValue ()
int GetSellPrice ()
uint GetID ()
uint GetType ()
stringGetName ()

Public Attributes

bool dynamicprice
int dir
int dialogid
string script
int aipack
int8 basetype
int bagid
int teamid
int level
int respawnTime
array< int > npcpids
int npcpid
int cost
int bagvalue
int startcost
uint type
int sellprice
uint id
string name
Serializator serializer

Constructor & Destructor Documentation

CMerc (  ) 

Member Function Documentation

bool Spawn ( Critter master  ) 

Implements IMerc.

IMerc@ Dialog ( int  dialogid  ) 

Implements IMerc.

IMerc@ Script ( string script  ) 

Implements IMerc.

IMerc@ AI ( int  aipack  ) 

Implements IMerc.

IMerc@ Bag ( int  bagid  ) 

Implements IMerc.

IMerc@ Team ( int  teamid  ) 

Implements IMerc.

IMerc@ Level ( int  level  ) 

Implements IMerc.

IMerc@ PID ( int  npcpid  ) 

Implements IMerc.

IMerc@ PID ( array< int >  npcpids  ) 

Implements IMerc.

IMerc@ Type ( int  type  ) 

Implements IMerc.

IMerc@ ID ( int  id  ) 

Implements IMerc.

IMerc@ DynamicPrice (  ) 

Implements IMerc.

bool IsDynamicPrice (  ) 

Implements IMerc.

IMerc@ StartCost ( int  cost  ) 

Implements IMerc.

IMerc@ Cost ( int  cost  ) 

Implements IMerc.

IMerc@ SellPrice ( int  sellprice  ) 

Implements IMerc.

int GetDialog (  ) 

Implements IMerc.

string@ GetScript (  ) 

Implements IMerc.

int8 GetBaseType (  ) 

Implements IMerc.

int GetAIPack (  ) 

Implements IMerc.

int GetBagID (  ) 

Implements IMerc.

int GetTeamID (  ) 

Implements IMerc.

int GetLevel (  ) 

Implements IMerc.

int GetLastPID (  ) 

Implements IMerc.

array<int> GetPIDs (  ) 

Implements IMerc.

int GetCost (  ) 

Implements IMerc.

int GetBagValue (  ) 

Implements IMerc.

int GetSellPrice (  ) 

Implements IMerc.

uint GetID (  ) 

Implements IMerc.

uint GetType (  ) 

Implements IMerc.

string@ GetName (  ) 

Implements IMerc.


Member Data Documentation

int dir
int dialogid
int aipack
int8 basetype
int bagid
int teamid
int level
array<int> npcpids
int npcpid
int cost
int bagvalue
int startcost
uint type
int sellprice
uint id