25 _log(ITEM__TRACE,
"Created AsteroidItem for %s(%u).", adata.
itemName.c_str(), adata.
itemID);
30 return InventoryItem::Load<AsteroidItem>(asteroidID );
76 m_growTimer(
sConfig.cosmic.BeltGrowth *60 *60 *1000)
113 into.recharge = 30000;
116 into.structure = 1.0;
136 _log(SPAWN__DEPOP,
"AsteroidSE::Delete() - Removing asteroid %s(%u) from beltID %u", \
void Append(const T &value)
Appends a single value to buffer.
#define sConfig
A macro for easier access to the singleton.
#define _log(type, fmt,...)
static AsteroidItemRef Spawn(ItemData &idata, AsteroidData &adata)
RefPtr< AsteroidItem > AsteroidItemRef
bool IsActive(uint16 bubbleID)
virtual void EncodeDestiny(Buffer &into)
AsteroidItem(const ItemType &type, const ItemData &idata, const AsteroidData &adata)
AsteroidSE(InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
const ItemType & type() const
Generic class for buffers.
PyTuple * MakeDamageState()
static void CreateRoidItemID(ItemData &idata, AsteroidData &adata)
bool Check(bool reset=true)
const char * GetName() const
const std::string & name() const
static AsteroidItemRef SpawnTemp(ItemData &idata, AsteroidData &adata)
static AsteroidItemRef Load(uint32 asteroidID)
void RemoveAsteroid(uint32 beltID, AsteroidSE *pASE)
int main(int argc, char *argv[])
typeID Spawn an NPC with the specified type text Search for items matching the specified query() type()() itemID() copy() materialLevel()() itemID(attributeID)-Retrieves attribute value." ) COMMAND( setattr
Reference-counting-based smart pointer.