Exemple #1
0
StringId::StringId(const StringId& id) : Object(), Serializable() {
	file = id.file;
	stringID = id.stringID;

	customName = id.customName;

	addSerializableVariables();
}
Exemple #2
0
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();
}
Exemple #4
0
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();
}
Exemple #6
0
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();
}
Exemple #7
0
StringId::StringId(const UnicodeString& custom) : Serializable() {
	customName = custom;

	addSerializableVariables();
}
Exemple #8
0
StringId::StringId(const String& fil, const String& stringId) : Serializable() {
	file = fil;
	stringID = stringId;

	addSerializableVariables();
}
Exemple #9
0
StringId::StringId(const String& fullPath) : Serializable() {
	setStringId(fullPath);

	addSerializableVariables();
}
Exemple #10
0
StringId::StringId() : Serializable() {
	addSerializableVariables();
}
BlueprintEntry::BlueprintEntry() : Serializable() {
	serialNumber = "";
	addSerializableVariables();
}