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
|
#pragma once
#include <utility/aglParameter.h>
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
#include "KingSystem/Utils/Types.h"
namespace ksys::res {
class GParamListObjectWeaponThrow : public GParamListObject {
public:
GParamListObjectWeaponThrow();
const char* getName() const override { return "WeaponThrow"; }
agl::utl::Parameter<f32> mThrowSpeed;
agl::utl::Parameter<f32> mThrowRotSpeed;
agl::utl::Parameter<f32> mThrowDist;
agl::utl::Parameter<sead::Vector3f> mThrowRigidBodyBaseAxis;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectWeaponThrow, 0xc0);
inline GParamListObjectWeaponThrow::GParamListObjectWeaponThrow() {
auto* const obj = &mObj;
mThrowSpeed.init(1.0, "ThrowSpeed", "", obj);
mThrowRotSpeed.init(50.0, "ThrowRotSpeed", "", obj);
mThrowDist.init(5.0, "ThrowDist", "", obj);
mThrowRigidBodyBaseAxis.init({0.0, 0.0, 1.0}, "ThrowRigidBodyBaseAxis", "", obj);
}
} // namespace ksys::res
|