Exemplo n.º 1
0
StringId::StringId(const StringId& id) : Object(), Serializable() {
	file = id.file;
	stringID = id.stringID;

	customName = id.customName;

	addSerializableVariables();
}
Exemplo n.º 2
0
DamageOverTime::DamageOverTime() {
	setAttackerID(0);
	setType(CreatureState::BLEEDING);
	setAttribute(CreatureAttribute::HEALTH);
	strength = 0;
	setDuration(0);
	setExpires(0);
	setSecondaryStrength(0);
	addSerializableVariables();
}
Exemplo n.º 3
0
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();
}
Exemplo n.º 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;

}
Exemplo n.º 5
0
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();
}
Exemplo n.º 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();
}
Exemplo n.º 7
0
StringId::StringId(const UnicodeString& custom) : Serializable() {
	customName = custom;

	addSerializableVariables();
}
Exemplo n.º 8
0
StringId::StringId(const String& fil, const String& stringId) : Serializable() {
	file = fil;
	stringID = stringId;

	addSerializableVariables();
}
Exemplo n.º 9
0
StringId::StringId(const String& fullPath) : Serializable() {
	setStringId(fullPath);

	addSerializableVariables();
}
Exemplo n.º 10
0
StringId::StringId() : Serializable() {
	addSerializableVariables();
}
Exemplo n.º 11
0
BlueprintEntry::BlueprintEntry() : Serializable() {
	serialNumber = "";
	addSerializableVariables();
}