summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryWhatDungeonType.cpp
blob: ae02bdb87dbe79a2d1fef9d9cd1a4ad84911b1bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "Game/AI/Query/queryWhatDungeonType.h"
#include <evfl/Query.h>
#include "KingSystem/World/worldManager.h"

namespace uking::query {

WhatDungeonType::WhatDungeonType(const InitArg& arg) : ksys::act::ai::Query(arg) {}

WhatDungeonType::~WhatDungeonType() = default;

int WhatDungeonType::doQuery() {
    return u8(ksys::world::Manager::instance()->getDungeonType());
}

void WhatDungeonType::loadParams(const evfl::QueryArg& arg) {}

void WhatDungeonType::loadParams() {}

}  // namespace uking::query