mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-25 06:26:24 +00:00
[HOT FIX] MS build issues regarding folder / command lenght usage or rc.exe (#2038)
This commit is contained in:
46
src/Ai/Base/Value/RtiTargetValue.h
Normal file
46
src/Ai/Base/Value/RtiTargetValue.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
|
||||
* and/or modify it under version 3 of the License, or (at your option), any later version.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYERBOT_RTITARGETVALUE_H
|
||||
#define _PLAYERBOT_RTITARGETVALUE_H
|
||||
|
||||
#include "TargetValue.h"
|
||||
|
||||
class PlayerbotAI;
|
||||
class Unit;
|
||||
|
||||
class RtiTargetValue : public TargetValue
|
||||
{
|
||||
public:
|
||||
RtiTargetValue(PlayerbotAI* botAI, std::string const type = "rti", std::string const name = "rti target")
|
||||
: TargetValue(botAI, name), type(type)
|
||||
{
|
||||
}
|
||||
|
||||
static int32 GetRtiIndex(std::string const rti);
|
||||
Unit* Calculate() override;
|
||||
static const int8 starIndex = 0;
|
||||
static const int8 circleIndex = 1;
|
||||
static const int8 diamondIndex = 2;
|
||||
static const int8 triangleIndex = 3;
|
||||
static const int8 moonIndex = 4;
|
||||
static const int8 squareIndex = 5;
|
||||
static const int8 crossIndex = 6;
|
||||
static const int8 skullIndex = 7;
|
||||
|
||||
private:
|
||||
std::string const type;
|
||||
};
|
||||
|
||||
class RtiCcTargetValue : public RtiTargetValue
|
||||
{
|
||||
public:
|
||||
RtiCcTargetValue(PlayerbotAI* botAI, std::string const name = "rti cc target")
|
||||
: RtiTargetValue(botAI, "rti cc", name)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user