StringId::StringId(const StringId& id) : Object(), Serializable() { file = id.file; stringID = id.stringID; customName = id.customName; addSerializableVariables(); }
DamageOverTime::DamageOverTime() { setAttackerID(0); setType(CreatureState::BLEEDING); setAttribute(CreatureAttribute::HEALTH); strength = 0; setDuration(0); setExpires(0); setSecondaryStrength(0); addSerializableVariables(); }
BlueprintEntry::BlueprintEntry(const BlueprintEntry& entry) : Object(), Serializable() { type = entry.type; key = entry.key; displayedName = entry.displayedName; serialNumber = entry.serialNumber; identical = entry.identical; quantity = entry.quantity; addSerializableVariables(); }
DamageOverTime::DamageOverTime(const DamageOverTime& dot) : Object(), Serializable() { addSerializableVariables(); attackerID = dot.attackerID; type = dot.type; attribute = dot.attribute; strength = dot.strength; duration = dot.duration; applied = dot.applied; expires = dot.expires; nextTick = dot.nextTick; secondaryStrength = dot.secondaryStrength; }
VendorDataComponent::VendorDataComponent() : AuctionTerminalDataComponent(), adBarkingMutex() { ownerId = 0; auctionManager = NULL; initialized = false; vendorSearchEnabled = false; disabled = false; registered = false; maintAmount = 0; awardUsageXP = 0; adBarking = false; mail1Sent = false; barkMessage = ""; lastBark = 0; originalDirection = 1000; addSerializableVariables(); }
DamageOverTime::DamageOverTime(CreatureObject* attacker, uint64 tp, uint8 attrib, uint32 str, uint32 dur, int secondaryStrength) { if (attacker != NULL) setAttackerID(attacker->getObjectID()); setType(tp); setAttribute(attrib); strength = str; setDuration(dur); setSecondaryStrength(secondaryStrength); applied.updateToCurrentTime(); activate(); addSerializableVariables(); }
StringId::StringId(const UnicodeString& custom) : Serializable() { customName = custom; addSerializableVariables(); }
StringId::StringId(const String& fil, const String& stringId) : Serializable() { file = fil; stringID = stringId; addSerializableVariables(); }
StringId::StringId(const String& fullPath) : Serializable() { setStringId(fullPath); addSerializableVariables(); }
StringId::StringId() : Serializable() { addSerializableVariables(); }
BlueprintEntry::BlueprintEntry() : Serializable() { serialNumber = ""; addSerializableVariables(); }