summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/GeneralParamList/resGParamListObjectPrey.h
blob: bcbe5ce34504592768705748bce8bf2a3b43c46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once

#include <utility/aglParameter.h>
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
#include "KingSystem/Utils/Types.h"

namespace ksys::res {

class GParamListObjectPrey : public GParamListObject {
public:
    GParamListObjectPrey();
    const char* getName() const override { return "Prey"; }

    agl::utl::Parameter<f32> mEatActorFindRadius;
    agl::utl::Parameter<f32> mEatActorFindRotDegree;
    agl::utl::Parameter<f32> mWaitTimeForStartEat;
    agl::utl::Parameter<bool> mIsEnableGroupEscape;
    agl::utl::Parameter<f32> mAimEscapeOffsetRate;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectPrey, 0xd8);

inline GParamListObjectPrey::GParamListObjectPrey() {
    auto* const obj = &mObj;

    mEatActorFindRadius.init(-1.0, "EatActorFindRadius", "", obj);
    mEatActorFindRotDegree.init(135.0, "EatActorFindRotDegree", "", obj);
    mWaitTimeForStartEat.init(150.0, "WaitTimeForStartEat", "", obj);
    mIsEnableGroupEscape.init(true, "IsEnableGroupEscape", "", obj);
    mAimEscapeOffsetRate.init(1.0, "AimEscapeOffsetRate", "", obj);
}

}  // namespace ksys::res