Aura.Channel.World.Entities.Creatures.CreatureQuests.ModifyPtjTrackRecord C# (CSharp) Method

ModifyPtjTrackRecord() public method

Modifies track record, changing success, done, and last change.
public ModifyPtjTrackRecord ( PtjType type, int done, int success ) : void
type PtjType
done int
success int
return void
		public void ModifyPtjTrackRecord(PtjType type, int done, int success)
		{
			var record = this.GetPtjTrackRecord(type);

			record.Done += done;
			record.Success += success;
			record.LastChange = DateTime.Now;

			this.PtjTrackRecordChanged.Raise(_creature, record);
		}