Skip to content

Commit

Permalink
feat(VirtualObject): add setters for all Daedalus Instances
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Dec 5, 2023
1 parent be7193d commit 38cd169
Show file tree
Hide file tree
Showing 41 changed files with 2,437 additions and 0 deletions.
23 changes: 23 additions & 0 deletions include/zenkit-capi/daedalus/CameraInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,48 @@ typedef struct ZkInternal_CameraInstance ZkCameraInstance;
#endif

ZKC_API float ZkCameraInstance_getBestRange(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setBestRange(ZkCameraInstance* slf, float bestRange);
ZKC_API float ZkCameraInstance_getMinRange(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMinRange(ZkCameraInstance* slf, float minRange);
ZKC_API float ZkCameraInstance_getMaxRange(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMaxRange(ZkCameraInstance* slf, float maxRange);
ZKC_API float ZkCameraInstance_getBestElevation(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setBestElevation(ZkCameraInstance* slf, float bestElevation);
ZKC_API float ZkCameraInstance_getMinElevation(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMinElevation(ZkCameraInstance* slf, float minElevation);
ZKC_API float ZkCameraInstance_getMaxElevation(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMaxElevation(ZkCameraInstance* slf, float maxElevation);
ZKC_API float ZkCameraInstance_getBestAzimuth(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setBestAzimuth(ZkCameraInstance* slf, float bestAzimuth);
ZKC_API float ZkCameraInstance_getMinAzimuth(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMinAzimuth(ZkCameraInstance* slf, float minAzimuth);
ZKC_API float ZkCameraInstance_getMaxAzimuth(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMaxAzimuth(ZkCameraInstance* slf, float maxAzimuth);
ZKC_API float ZkCameraInstance_getBestRotZ(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setBestRotZ(ZkCameraInstance* slf, float bestRotZ);
ZKC_API float ZkCameraInstance_getMinRotZ(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMinRotZ(ZkCameraInstance* slf, float minRotZ);
ZKC_API float ZkCameraInstance_getMaxRotZ(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setMaxRotZ(ZkCameraInstance* slf, float maxRotZ);
ZKC_API float ZkCameraInstance_getRotOffsetX(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setRotOffsetX(ZkCameraInstance* slf, float rotOffsetX);
ZKC_API float ZkCameraInstance_getRotOffsetY(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setRotOffsetY(ZkCameraInstance* slf, float rotOffsetY);
ZKC_API float ZkCameraInstance_getRotOffsetZ(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setRotOffsetZ(ZkCameraInstance* slf, float rotOffsetZ);
ZKC_API float ZkCameraInstance_getTargetOffsetX(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setTargetOffsetX(ZkCameraInstance* slf, float targetOffsetX);
ZKC_API float ZkCameraInstance_getTargetOffsetY(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setTargetOffsetY(ZkCameraInstance* slf, float targetOffsetY);
ZKC_API float ZkCameraInstance_getTargetOffsetZ(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setTargetOffsetZ(ZkCameraInstance* slf, float targetOffsetZ);
ZKC_API float ZkCameraInstance_getVeloTrans(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setVeloTrans(ZkCameraInstance* slf, float veloTrans);
ZKC_API float ZkCameraInstance_getVeloRot(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setVeloRot(ZkCameraInstance* slf, float veloRot);
ZKC_API int32_t ZkCameraInstance_getTranslate(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setTranslate(ZkCameraInstance* slf, int32_t translate);
ZKC_API int32_t ZkCameraInstance_getRotate(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setRotate(ZkCameraInstance* slf, int32_t rotate);
ZKC_API int32_t ZkCameraInstance_getCollision(ZkCameraInstance const* slf);
ZKC_API void ZkCameraInstance_setCollision(ZkCameraInstance* slf, int32_t collision);
46 changes: 46 additions & 0 deletions include/zenkit-capi/daedalus/EffectBaseInstance.hh
Original file line number Diff line number Diff line change
Expand Up @@ -10,48 +10,94 @@ typedef struct ZkInternal_EffectBaseInstance ZkEffectBaseInstance;
#endif

ZKC_API ZkString ZkEffectBaseInstance_getVisNameS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setVisNameS(ZkEffectBaseInstance* slf, ZkString visNameS);
ZKC_API ZkString ZkEffectBaseInstance_getVisSizeS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setVisSizeS(ZkEffectBaseInstance* slf, ZkString visSizeS);
ZKC_API float ZkEffectBaseInstance_getVisAlpha(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setVisAlpha(ZkEffectBaseInstance* slf, float visAlpha);
ZKC_API ZkString ZkEffectBaseInstance_getVisAlphaBlendFuncS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setVisAlphaBlendFuncS(ZkEffectBaseInstance* slf, ZkString visAlphaBlendFuncS);
ZKC_API float ZkEffectBaseInstance_getVisTexAniFps(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setVisTexAniFps(ZkEffectBaseInstance* slf, float visTexAniFps);
ZKC_API int32_t ZkEffectBaseInstance_getVisTexAniIsLooping(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setVisTexAniIsLooping(ZkEffectBaseInstance* slf, int32_t visTexAniIsLooping);
ZKC_API ZkString ZkEffectBaseInstance_getEmTrjModeS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjModeS(ZkEffectBaseInstance* slf, ZkString emTrjModeS);
ZKC_API ZkString ZkEffectBaseInstance_getEmTrjOriginNode(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjOriginNode(ZkEffectBaseInstance* slf, ZkString emTrjOriginNode);
ZKC_API ZkString ZkEffectBaseInstance_getEmTrjTargetNode(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjTargetNode(ZkEffectBaseInstance* slf, ZkString emTrjTargetNode);
ZKC_API float ZkEffectBaseInstance_getEmTrjTargetRange(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjTargetRange(ZkEffectBaseInstance* slf, float emTrjTargetRange);
ZKC_API float ZkEffectBaseInstance_getEmTrjTargetAzi(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjTargetAzi(ZkEffectBaseInstance* slf, float emTrjTargetAzi);
ZKC_API float ZkEffectBaseInstance_getEmTrjTargetElev(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjTargetElev(ZkEffectBaseInstance* slf, float emTrjTargetElev);
ZKC_API int32_t ZkEffectBaseInstance_getEmTrjNumKeys(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjNumKeys(ZkEffectBaseInstance* slf, int32_t emTrjNumKeys);
ZKC_API int32_t ZkEffectBaseInstance_getEmTrjNumKeysVar(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjNumKeysVar(ZkEffectBaseInstance* slf, int32_t emTrjNumKeysVar);
ZKC_API float ZkEffectBaseInstance_getEmTrjAngleElevVar(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjAngleElevVar(ZkEffectBaseInstance* slf, float emTrjAngleElevVar);
ZKC_API float ZkEffectBaseInstance_getEmTrjAngleHeadVar(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjAngleHeadVar(ZkEffectBaseInstance* slf, float emTrjAngleHeadVar);
ZKC_API float ZkEffectBaseInstance_getEmTrjKeyDistVar(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjKeyDistVar(ZkEffectBaseInstance* slf, float emTrjKeyDistVar);
ZKC_API ZkString ZkEffectBaseInstance_getEmTrjLoopModeS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjLoopModeS(ZkEffectBaseInstance* slf, ZkString emTrjLoopModeS);
ZKC_API ZkString ZkEffectBaseInstance_getEmTrjEaseFuncS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjEaseFuncS(ZkEffectBaseInstance* slf, ZkString emTrjEaseFuncS);
ZKC_API float ZkEffectBaseInstance_getEmTrjEaseVel(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjEaseVel(ZkEffectBaseInstance* slf, float emTrjEaseVel);
ZKC_API float ZkEffectBaseInstance_getEmTrjDynUpdateDelay(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjDynUpdateDelay(ZkEffectBaseInstance* slf, float emTrjDynUpdateDelay);
ZKC_API int32_t ZkEffectBaseInstance_getEmTrjDynUpdateTargetOnly(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmTrjDynUpdateTargetOnly(ZkEffectBaseInstance* slf, int32_t emTrjDynUpdateTargetOnly);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxCreateS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCreateS(ZkEffectBaseInstance* slf, ZkString emFxCreateS);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxInvestOriginS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxInvestOriginS(ZkEffectBaseInstance* slf, ZkString emFxInvestOriginS);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxInvestTargetS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxInvestTargetS(ZkEffectBaseInstance* slf, ZkString emFxInvestTargetS);
ZKC_API float ZkEffectBaseInstance_getEmFxTriggerDelay(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxTriggerDelay(ZkEffectBaseInstance* slf, float emFxTriggerDelay);
ZKC_API int32_t ZkEffectBaseInstance_getEmFxCreateDownTrj(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCreateDownTrj(ZkEffectBaseInstance* slf, int32_t emFxCreateDownTrj);
ZKC_API ZkString ZkEffectBaseInstance_getEmActionCollDynS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmActionCollDynS(ZkEffectBaseInstance* slf, ZkString emActionCollDynS);
ZKC_API ZkString ZkEffectBaseInstance_getEmActionCollStatS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmActionCollStatS(ZkEffectBaseInstance* slf, ZkString emActionCollStatS);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxCollStatS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCollStatS(ZkEffectBaseInstance* slf, ZkString emFxCollStatS);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxCollDynS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCollDynS(ZkEffectBaseInstance* slf, ZkString emFxCollDynS);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxCollStatAlignS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCollStatAlignS(ZkEffectBaseInstance* slf, ZkString emFxCollStatAlignS);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxCollDynAlignS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCollDynAlignS(ZkEffectBaseInstance* slf, ZkString emFxCollDynAlignS);
ZKC_API float ZkEffectBaseInstance_getEmFxLifespan(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxLifespan(ZkEffectBaseInstance* slf, float emFxLifespan);
ZKC_API int32_t ZkEffectBaseInstance_getEmCheckCollision(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmCheckCollision(ZkEffectBaseInstance* slf, int32_t emCheckCollision);
ZKC_API int32_t ZkEffectBaseInstance_getEmAdjustShpToOrigin(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmAdjustShpToOrigin(ZkEffectBaseInstance* slf, int32_t emAdjustShpToOrigin);
ZKC_API float ZkEffectBaseInstance_getEmInvestNextKeyDuration(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmInvestNextKeyDuration(ZkEffectBaseInstance* slf, float emInvestNextKeyDuration);
ZKC_API float ZkEffectBaseInstance_getEmFlyGravity(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFlyGravity(ZkEffectBaseInstance* slf, float emFlyGravity);
ZKC_API ZkString ZkEffectBaseInstance_getEmSelfRotVelS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmSelfRotVelS(ZkEffectBaseInstance* slf, ZkString emSelfRotVelS);
ZKC_API ZkString ZkEffectBaseInstance_getLightPresetName(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setLightPresetName(ZkEffectBaseInstance* slf, ZkString lightPresetName);
ZKC_API ZkString ZkEffectBaseInstance_getSfxId(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setSfxId(ZkEffectBaseInstance* slf, ZkString sfxId);
ZKC_API int32_t ZkEffectBaseInstance_getSfxIsAmbient(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setSfxIsAmbient(ZkEffectBaseInstance* slf, int32_t sfxIsAmbient);
ZKC_API int32_t ZkEffectBaseInstance_getSendAssessMagic(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setSendAssessMagic(ZkEffectBaseInstance* slf, int32_t sendAssessMagic);
ZKC_API float ZkEffectBaseInstance_getSecsPerDamage(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setSecsPerDamage(ZkEffectBaseInstance* slf, float secsPerDamage);
ZKC_API ZkString ZkEffectBaseInstance_getEmFxCollDynPercS(ZkEffectBaseInstance const* slf);
ZKC_API void ZkEffectBaseInstance_setEmFxCollDynPercS(ZkEffectBaseInstance* slf, ZkString emFxCollDynPercS);
ZKC_API ZkString ZkEffectBaseInstance_getUserString(ZkEffectBaseInstance const* slf, ZkSize i);
ZKC_API void ZkEffectBaseInstance_setUserString(ZkEffectBaseInstance* slf, ZkSize i, ZkString userString);
1 change: 1 addition & 0 deletions include/zenkit-capi/daedalus/FightAiInstance.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ typedef enum {
} ZkFightAiMove;

ZKC_API ZkFightAiMove ZkFightAiInstance_getMove(ZkFightAiInstance const* slf, ZkSize i);
ZKC_API void ZkFightAiInstance_setMove(ZkFightAiInstance* slf, ZkSize i, ZkFightAiMove move);
19 changes: 19 additions & 0 deletions include/zenkit-capi/daedalus/FocusInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,40 @@ typedef struct ZkInternal_FocusInstance ZkFocusInstance;
#endif

ZKC_API float ZkFocusInstance_getNpcLongrange(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcLongrange(ZkFocusInstance* slf, float npcLongrange);
ZKC_API float ZkFocusInstance_getNpcRange1(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcRange1(ZkFocusInstance* slf, float npcRange1);
ZKC_API float ZkFocusInstance_getNpcRange2(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcRange2(ZkFocusInstance* slf, float npcRange2);
ZKC_API float ZkFocusInstance_getNpcAzi(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcAzi(ZkFocusInstance* slf, float npcAzi);
ZKC_API float ZkFocusInstance_getNpcElevdo(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcElevdo(ZkFocusInstance* slf, float npcElevdo);
ZKC_API float ZkFocusInstance_getNpcElevup(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcElevup(ZkFocusInstance* slf, float npcElevup);
ZKC_API int32_t ZkFocusInstance_getNpcPrio(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setNpcPrio(ZkFocusInstance* slf, int32_t npcPrio);
ZKC_API float ZkFocusInstance_getItemRange1(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setItemRange1(ZkFocusInstance* slf, float itemRange1);
ZKC_API float ZkFocusInstance_getItemRange2(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setItemRange2(ZkFocusInstance* slf, float itemRange2);
ZKC_API float ZkFocusInstance_getItemAzi(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setItemAzi(ZkFocusInstance* slf, float itemAzi);
ZKC_API float ZkFocusInstance_getItemElevdo(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setItemElevdo(ZkFocusInstance* slf, float itemElevdo);
ZKC_API float ZkFocusInstance_getItemElevup(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setItemElevup(ZkFocusInstance* slf, float itemElevup);
ZKC_API int32_t ZkFocusInstance_getItemPrio(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setItemPrio(ZkFocusInstance* slf, int32_t itemPrio);
ZKC_API float ZkFocusInstance_getMobRange1(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setMobRange1(ZkFocusInstance* slf, float mobRange1);
ZKC_API float ZkFocusInstance_getMobRange2(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setMobRange2(ZkFocusInstance* slf, float mobRange2);
ZKC_API float ZkFocusInstance_getMobAzi(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setMobAzi(ZkFocusInstance* slf, float mobAzi);
ZKC_API float ZkFocusInstance_getMobElevdo(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setMobElevdo(ZkFocusInstance* slf, float mobElevdo);
ZKC_API float ZkFocusInstance_getMobElevup(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setMobElevup(ZkFocusInstance* slf, float mobElevup);
ZKC_API int32_t ZkFocusInstance_getMobPrio(ZkFocusInstance const* slf);
ZKC_API void ZkFocusInstance_setMobPrio(ZkFocusInstance* slf, int32_t mobPrio);
Loading

0 comments on commit 38cd169

Please sign in to comment.