summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/resResourceAttClient.cpp
blob: ab99bec3a5ad8cbca1934c7c3deb16e3875f04ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "KingSystem/Resource/resResourceAttClient.h"

namespace ksys::res {

AttClient::~AttClient() {
    // TODO
    mChecks.freeBuffer();
}

void AttClient::doCreate_(u8*, u32, sead::Heap*) {}

AttPos::AttPos() = default;

void AttPos::init(agl::utl::IParameterObj* obj, const char* node_key, const char* offset_key,
                  const char* rotate_key, const char* y_rot_only_key) {
    node.init("", node_key, "ノード", "", obj);
    offset.init(sead::Vector3f::zero, offset_key, "オフセット", "Min=-100.f,Max=100.f", obj);
    rotate.init(sead::Vector3f::zero, rotate_key, "回転", "Min=-3.1415f,Max=3.1415f", obj);
    y_rot_only.init(false, y_rot_only_key, "Y軸回転のみ有効", "", obj);
}

}  // namespace ksys::res