mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +00:00
block out some
This commit is contained in:
parent
97b683fd59
commit
facc225b82
@ -25,8 +25,6 @@ enum class eWaypointCommandType : uint32_t {
|
|||||||
PLAY_SOUND,
|
PLAY_SOUND,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class WaypointCommandType {
|
class WaypointCommandType {
|
||||||
public:
|
public:
|
||||||
static eWaypointCommandType StringToWaypointCommandType(std::string commandString) {
|
static eWaypointCommandType StringToWaypointCommandType(std::string commandString) {
|
||||||
|
@ -7,44 +7,76 @@ void MovementAIComponent::HandleWaypointArrived() {
|
|||||||
if (m_Path->pathWaypoints[m_CurrentPathWaypointIndex].commands.empty()) return;
|
if (m_Path->pathWaypoints[m_CurrentPathWaypointIndex].commands.empty()) return;
|
||||||
for(auto [command, data] : m_Path->pathWaypoints[m_CurrentPathWaypointIndex].commands){
|
for(auto [command, data] : m_Path->pathWaypoints[m_CurrentPathWaypointIndex].commands){
|
||||||
switch(command){
|
switch(command){
|
||||||
case eWaypointCommandType::BOUNCE:
|
|
||||||
break;
|
|
||||||
case eWaypointCommandType::STOP:
|
case eWaypointCommandType::STOP:
|
||||||
|
// call stop
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::GROUP_EMOTE:
|
case eWaypointCommandType::GROUP_EMOTE:
|
||||||
|
// get group
|
||||||
|
// make them all emote
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::SET_VARIABLE:
|
case eWaypointCommandType::SET_VARIABLE:
|
||||||
|
// set network variable???
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::CAST_SKILL:
|
case eWaypointCommandType::CAST_SKILL:
|
||||||
|
// just call cast skill lol
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::EQUIP_INVENTORY:
|
case eWaypointCommandType::EQUIP_INVENTORY:
|
||||||
|
// equip item via ID (not lot???)
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::UNEQUIP_INVENTORY:
|
case eWaypointCommandType::UNEQUIP_INVENTORY:
|
||||||
|
// unequip item via ID (not lot??)
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::DELAY:
|
case eWaypointCommandType::DELAY:
|
||||||
|
// number
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::EMOTE:
|
case eWaypointCommandType::EMOTE:
|
||||||
|
// emote name
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::TELEPORT:
|
case eWaypointCommandType::TELEPORT:
|
||||||
|
// x,y,z
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::PATH_SPEED:
|
case eWaypointCommandType::PATH_SPEED:
|
||||||
|
// set speed?
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::REMOVE_NPC:
|
case eWaypointCommandType::REMOVE_NPC:
|
||||||
|
// get objects in proximity
|
||||||
|
// KillOBJS ???
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::CHANGE_WAYPOINT:
|
case eWaypointCommandType::CHANGE_WAYPOINT:
|
||||||
break;
|
// std::string path_string = "";
|
||||||
case eWaypointCommandType::DELETE_SELF:
|
// sometimes there's a path and what waypoint to start, which are comma separated
|
||||||
|
// if (intermed.find(",") != std::string::npos){
|
||||||
|
// auto datas = GeneralUtils::SplitString(intermed, ',');
|
||||||
|
// path_string = datas[0];
|
||||||
|
// m_PathIndex = stoi(datas[1]) - 1;
|
||||||
|
// } else {
|
||||||
|
// path_string = intermed;
|
||||||
|
// m_PathIndex = 0;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// if (path_string != "") {
|
||||||
|
// SetMovementPath(const_cast<Path*>(dZoneManager::Instance()->GetZone()->GetPath(path_string)));
|
||||||
|
// } else m_MovementPath = nullptr;
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::KILL_SELF:
|
case eWaypointCommandType::KILL_SELF:
|
||||||
|
// Kill Silent
|
||||||
break;
|
break;
|
||||||
|
case eWaypointCommandType::DELETE_SELF:
|
||||||
case eWaypointCommandType::REMOVE_SELF:
|
case eWaypointCommandType::REMOVE_SELF:
|
||||||
|
// Delete Object
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::SPAWN_OBJECT:
|
case eWaypointCommandType::SPAWN_OBJECT:
|
||||||
|
// just make a new object
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::PLAY_SOUND:
|
case eWaypointCommandType::PLAY_SOUND:
|
||||||
|
// msgPlayNDAudioEmitter
|
||||||
|
break;
|
||||||
|
case eWaypointCommandType::BOUNCE:
|
||||||
|
Game::logger->Log("MovementAIComponentAronwk", "Unusable Command %i", command);
|
||||||
break;
|
break;
|
||||||
case eWaypointCommandType::INVALID:
|
case eWaypointCommandType::INVALID:
|
||||||
Game::logger->LogDebug("MovementAIComponentAronwk", "Got invalid waypoint command %i", command);
|
Game::logger->LogDebug("MovementAIComponentAronwk", "Got invalid waypoint command %i", command);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user