blob: f10d43cb24e13332bd1c8643609aac62dae18a75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "Game/Actor/Query/queryRandomChoice4.h"
#include <evfl/Query.h>
#include <random/seadGlobalRandom.h>
namespace uking::query {
RandomChoice4::RandomChoice4(const InitArg& arg) : ksys::act::ai::Query(arg) {}
RandomChoice4::~RandomChoice4() = default;
int RandomChoice4::doQuery() {
return sead::GlobalRandom::instance()->getU32(4);
}
} // namespace uking::query
|