mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
29 lines
742 B
C++
29 lines
742 B
C++
/*
|
|
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it
|
|
* and/or modify it under version 2 of the License, or (at your option), any later version.
|
|
*/
|
|
|
|
#include "RtiValue.h"
|
|
|
|
#include "Playerbots.h"
|
|
|
|
RtiValue::RtiValue(PlayerbotAI* botAI) : ManualSetValue<std::string>(botAI, "skull", "rti") {}
|
|
|
|
std::string const RtiValue::Save() { return value; }
|
|
|
|
bool RtiValue::Load(std::string const text)
|
|
{
|
|
value = text;
|
|
return true;
|
|
}
|
|
|
|
RtiCcValue::RtiCcValue(PlayerbotAI* botAI) : ManualSetValue<std::string>(botAI, "moon", "rti cc") {}
|
|
|
|
std::string const RtiCcValue::Save() { return value; }
|
|
|
|
bool RtiCcValue::Load(std::string const text)
|
|
{
|
|
value = text;
|
|
return true;
|
|
}
|