From c0a2559f003b0dbed2d6c53e416c0a1be54c6257 Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Sat, 12 Oct 2024 12:10:45 +0200 Subject: [PATCH] fix: segfaults with NULL instances --- src/DaedalusScript.cc | 12 +- src/DaedalusVm.cc | 34 +- src/daedalus/CameraInstance.cc | 93 +++--- src/daedalus/EffectBaseInstance.cc | 184 +++++------ src/daedalus/FightAiInstance.cc | 4 +- src/daedalus/FocusInstance.cc | 76 ++--- src/daedalus/GuildValuesInstance.cc | 124 +++---- src/daedalus/InfoInstance.cc | 32 +- src/daedalus/ItemInstance.cc | 176 +++++----- src/daedalus/ItemReactInstance.cc | 28 +- src/daedalus/MenuInstance.cc | 52 +-- src/daedalus/MenuItemInstance.cc | 112 +++---- src/daedalus/MissionInstance.cc | 52 +-- src/daedalus/MusicJingleInstance.cc | 12 + src/daedalus/MusicSystemInstance.cc | 18 + src/daedalus/MusicThemeInstance.cc | 21 ++ src/daedalus/NpcInstance.cc | 96 ++++++ src/daedalus/ParticleEffectEmitKeyInstance.cc | 96 ++++++ src/daedalus/ParticleEffectInstance.cc | 171 ++++++++++ src/daedalus/SoundEffectInstance.cc | 27 ++ src/daedalus/SoundSystemInstance.cc | 18 + src/daedalus/SpellInstance.cc | 36 ++ src/daedalus/SvmInstance.cc | 312 ++++++++++++++++++ 23 files changed, 1307 insertions(+), 479 deletions(-) diff --git a/src/DaedalusScript.cc b/src/DaedalusScript.cc index 3a81448..70470d6 100644 --- a/src/DaedalusScript.cc +++ b/src/DaedalusScript.cc @@ -88,32 +88,32 @@ ZkDaedalusSymbol* ZkDaedalusScript_getSymbolByName(ZkDaedalusScript* slf, ZkStri ZkString ZkDaedalusSymbol_getString(ZkDaedalusSymbol const* slf, uint16_t index, ZkDaedalusInstance const* context) { ZKC_CHECK_NULL(slf); - ZKC_RETURN_CATCH(slf->get_string(index, context->get()).c_str()); + ZKC_RETURN_CATCH(slf->get_string(index, context ? context->get() : nullptr).c_str()); } float ZkDaedalusSymbol_getFloat(ZkDaedalusSymbol const* slf, uint16_t index, ZkDaedalusInstance const* context) { ZKC_CHECK_NULL(slf); - ZKC_RETURN_CATCH(slf->get_float(index, context->get())); + ZKC_RETURN_CATCH(slf->get_float(index, context ? context->get() : nullptr)); } int32_t ZkDaedalusSymbol_getInt(ZkDaedalusSymbol const* slf, uint16_t index, ZkDaedalusInstance const* context) { ZKC_CHECK_NULL(slf); - ZKC_RETURN_CATCH(slf->get_int(index, context->get())); + ZKC_RETURN_CATCH(slf->get_int(index, context ? context->get() : nullptr)); } void ZkDaedalusSymbol_setString(ZkDaedalusSymbol* slf, ZkString value, uint16_t index, ZkDaedalusInstance* context) { ZKC_CHECK_NULLV(slf, value); - ZKC_CATCH(slf->set_string(value, index, context->get())); + ZKC_CATCH(slf->set_string(value, index, context ? context->get() : nullptr)); } void ZkDaedalusSymbol_setFloat(ZkDaedalusSymbol* slf, float value, uint16_t index, ZkDaedalusInstance* context) { ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->set_float(value, index, context->get())); + ZKC_CATCH(slf->set_float(value, index, context ? context->get() : nullptr)); } void ZkDaedalusSymbol_setInt(ZkDaedalusSymbol* slf, int32_t value, uint16_t index, ZkDaedalusInstance* context) { ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->set_int(value, index, context->get())); + ZKC_CATCH(slf->set_int(value, index, context ? context->get() : nullptr)); } ZkBool ZkDaedalusSymbol_getIsConst(ZkDaedalusSymbol const* slf) { diff --git a/src/DaedalusVm.cc b/src/DaedalusVm.cc index 89540dc..5e0738c 100644 --- a/src/DaedalusVm.cc +++ b/src/DaedalusVm.cc @@ -156,8 +156,12 @@ ZkDaedalusInstance* ZkDaedalusVm_popInstance(ZkDaedalusVm* slf) { ZKC_TRACE_FN(); ZKC_CHECK_NULL(slf); - auto* instance = new ZkDaedalusInstance(slf->handle.pop_instance()); - ZKC_RETURN_CATCH(instance); + auto instance = slf->handle.pop_instance(); + if (instance == nullptr) { + return nullptr; + } + + ZKC_RETURN_CATCH(new ZkDaedalusInstance(instance)); } ZkDaedalusInstance* ZkDaedalusVm_getGlobalSelf(ZkDaedalusVm* slf) { @@ -165,6 +169,9 @@ ZkDaedalusInstance* ZkDaedalusVm_getGlobalSelf(ZkDaedalusVm* slf) { ZKC_CHECK_NULL(slf); auto& instance = slf->handle.global_self()->get_instance(); + if (instance == nullptr) { + return nullptr; + } ZKC_RETURN_CATCH(new ZkDaedalusInstance(instance)); } @@ -172,6 +179,9 @@ ZkDaedalusInstance* ZkDaedalusVm_getGlobalOther(ZkDaedalusVm* slf) { ZKC_TRACE_FN(); ZKC_CHECK_NULL(slf); auto& instance = slf->handle.global_other()->get_instance(); + if (instance == nullptr) { + return nullptr; + } ZKC_RETURN_CATCH(new ZkDaedalusInstance(instance)); } @@ -179,6 +189,9 @@ ZkDaedalusInstance* ZkDaedalusVm_getGlobalVictim(ZkDaedalusVm* slf) { ZKC_TRACE_FN(); ZKC_CHECK_NULL(slf); auto& instance = slf->handle.global_victim()->get_instance(); + if (instance == nullptr) { + return nullptr; + } ZKC_RETURN_CATCH(new ZkDaedalusInstance(instance)); } @@ -186,6 +199,9 @@ ZkDaedalusInstance* ZkDaedalusVm_getGlobalHero(ZkDaedalusVm* slf) { ZKC_TRACE_FN(); ZKC_CHECK_NULL(slf); auto& instance = slf->handle.global_hero()->get_instance(); + if (instance == nullptr) { + return nullptr; + } ZKC_RETURN_CATCH(new ZkDaedalusInstance(instance)); } @@ -193,6 +209,10 @@ ZkDaedalusInstance* ZkDaedalusVm_getGlobalItem(ZkDaedalusVm* slf) { ZKC_TRACE_FN(); ZKC_CHECK_NULL(slf); auto& instance = slf->handle.global_item()->get_instance(); + if (instance == nullptr) { + return nullptr; + } + ZKC_RETURN_CATCH(new ZkDaedalusInstance(instance)); } @@ -200,27 +220,27 @@ void ZkDaedalusVm_setGlobalSelf(ZkDaedalusVm* slf, ZkDaedalusInstance* value) { ZKC_TRACE_FN(); ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->handle.global_self()->set_instance(*value)); + ZKC_CATCH(slf->handle.global_self()->set_instance(value ? *value : nullptr)); } void ZkDaedalusVm_setGlobalOther(ZkDaedalusVm* slf, ZkDaedalusInstance* value) { ZKC_TRACE_FN(); ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->handle.global_other()->set_instance(*value)); + ZKC_CATCH(slf->handle.global_other()->set_instance(value ? *value : nullptr)); } void ZkDaedalusVm_setGlobalVictim(ZkDaedalusVm* slf, ZkDaedalusInstance* value) { ZKC_TRACE_FN(); ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->handle.global_victim()->set_instance(*value)); + ZKC_CATCH(slf->handle.global_victim()->set_instance(value ? *value : nullptr)); } void ZkDaedalusVm_setGlobalHero(ZkDaedalusVm* slf, ZkDaedalusInstance* value) { ZKC_TRACE_FN(); ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->handle.global_hero()->set_instance(*value)); + ZKC_CATCH(slf->handle.global_hero()->set_instance(value ? *value : nullptr)); } void ZkDaedalusVm_setGlobalItem(ZkDaedalusVm* slf, ZkDaedalusInstance* value) { ZKC_TRACE_FN(); ZKC_CHECK_NULLV(slf); - ZKC_CATCH(slf->handle.global_item()->set_instance(*value)); + ZKC_CATCH(slf->handle.global_item()->set_instance(value ? *value : nullptr)); } void ZkDaedalusVm_callFunction(ZkDaedalusVm* slf, ZkDaedalusSymbol* sym) { diff --git a/src/daedalus/CameraInstance.cc b/src/daedalus/CameraInstance.cc index b1177d5..e039d82 100644 --- a/src/daedalus/CameraInstance.cc +++ b/src/daedalus/CameraInstance.cc @@ -3,231 +3,232 @@ #include "../Internal.hh" float ZkCameraInstance_getBestRange(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->best_range; } void ZkCameraInstance_setBestRange(ZkCameraInstance* slf, float bestRange) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->best_range = bestRange; } float ZkCameraInstance_getMinRange(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->min_range; } void ZkCameraInstance_setMinRange(ZkCameraInstance* slf, float minRange) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->min_range = minRange; } float ZkCameraInstance_getMaxRange(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->max_range; } void ZkCameraInstance_setMaxRange(ZkCameraInstance* slf, float maxRange) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->max_range = maxRange; } float ZkCameraInstance_getBestElevation(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->best_elevation; } void ZkCameraInstance_setBestElevation(ZkCameraInstance* slf, float bestElevation) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->best_elevation = bestElevation; } float ZkCameraInstance_getMinElevation(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->min_elevation; } void ZkCameraInstance_setMinElevation(ZkCameraInstance* slf, float minElevation) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->min_elevation = minElevation; } float ZkCameraInstance_getMaxElevation(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->max_elevation; } void ZkCameraInstance_setMaxElevation(ZkCameraInstance* slf, float maxElevation) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->max_elevation = maxElevation; } float ZkCameraInstance_getBestAzimuth(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->best_azimuth; } void ZkCameraInstance_setBestAzimuth(ZkCameraInstance* slf, float bestAzimuth) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->best_azimuth = bestAzimuth; } float ZkCameraInstance_getMinAzimuth(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->min_azimuth; } void ZkCameraInstance_setMinAzimuth(ZkCameraInstance* slf, float minAzimuth) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->min_azimuth = minAzimuth; } float ZkCameraInstance_getMaxAzimuth(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->max_azimuth; } void ZkCameraInstance_setMaxAzimuth(ZkCameraInstance* slf, float maxAzimuth) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->max_azimuth = maxAzimuth; } float ZkCameraInstance_getBestRotZ(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->best_rot_z; } void ZkCameraInstance_setBestRotZ(ZkCameraInstance* slf, float bestRotZ) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->best_rot_z = bestRotZ; } float ZkCameraInstance_getMinRotZ(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->min_rot_z; } void ZkCameraInstance_setMinRotZ(ZkCameraInstance* slf, float minRotZ) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->min_rot_z = minRotZ; } float ZkCameraInstance_getMaxRotZ(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->max_rot_z; } void ZkCameraInstance_setMaxRotZ(ZkCameraInstance* slf, float maxRotZ) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->max_rot_z = maxRotZ; } float ZkCameraInstance_getRotOffsetX(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->rot_offset_x; } void ZkCameraInstance_setRotOffsetX(ZkCameraInstance* slf, float rotOffsetX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->rot_offset_x = rotOffsetX; } float ZkCameraInstance_getRotOffsetY(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->rot_offset_y; } void ZkCameraInstance_setRotOffsetY(ZkCameraInstance* slf, float rotOffsetY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->rot_offset_y = rotOffsetY; } float ZkCameraInstance_getRotOffsetZ(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->rot_offset_z; } void ZkCameraInstance_setRotOffsetZ(ZkCameraInstance* slf, float rotOffsetZ) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->rot_offset_z = rotOffsetZ; } float ZkCameraInstance_getTargetOffsetX(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->target_offset_x; } void ZkCameraInstance_setTargetOffsetX(ZkCameraInstance* slf, float targetOffsetX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->target_offset_x = targetOffsetX; } float ZkCameraInstance_getTargetOffsetY(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->target_offset_y; } void ZkCameraInstance_setTargetOffsetY(ZkCameraInstance* slf, float targetOffsetY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->target_offset_y = targetOffsetY; } float ZkCameraInstance_getTargetOffsetZ(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->target_offset_z; } void ZkCameraInstance_setTargetOffsetZ(ZkCameraInstance* slf, float targetOffsetZ) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; + ZKC_CHECK_NULLV(slf->get()); SLF->target_offset_z = targetOffsetZ; } float ZkCameraInstance_getVeloTrans(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->velo_trans; } void ZkCameraInstance_setVeloTrans(ZkCameraInstance* slf, float veloTrans) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->velo_trans = veloTrans; } float ZkCameraInstance_getVeloRot(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->velo_rot; } void ZkCameraInstance_setVeloRot(ZkCameraInstance* slf, float veloRot) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->velo_rot = veloRot; } int32_t ZkCameraInstance_getTranslate(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->translate; } void ZkCameraInstance_setTranslate(ZkCameraInstance* slf, int32_t translate) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->translate = translate; } int32_t ZkCameraInstance_getRotate(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->rotate; } void ZkCameraInstance_setRotate(ZkCameraInstance* slf, int32_t rotate) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->rotate = rotate; } int32_t ZkCameraInstance_getCollision(ZkCameraInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->collision; } void ZkCameraInstance_setCollision(ZkCameraInstance* slf, int32_t collision) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->collision = collision; } diff --git a/src/daedalus/EffectBaseInstance.cc b/src/daedalus/EffectBaseInstance.cc index b03b6ed..b7abafe 100644 --- a/src/daedalus/EffectBaseInstance.cc +++ b/src/daedalus/EffectBaseInstance.cc @@ -3,461 +3,461 @@ #include "../Internal.hh" ZkString ZkEffectBaseInstance_getVisNameS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->vis_name_s.c_str(); } void ZkEffectBaseInstance_setVisNameS(ZkEffectBaseInstance* slf, ZkString visNameS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->vis_name_s = visNameS; } ZkString ZkEffectBaseInstance_getVisSizeS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->vis_size_s.c_str(); } void ZkEffectBaseInstance_setVisSizeS(ZkEffectBaseInstance* slf, ZkString visSizeS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->vis_size_s = visSizeS; } float ZkEffectBaseInstance_getVisAlpha(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->vis_alpha; } void ZkEffectBaseInstance_setVisAlpha(ZkEffectBaseInstance* slf, float visAlpha) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->vis_alpha = visAlpha; } ZkString ZkEffectBaseInstance_getVisAlphaBlendFuncS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->vis_alpha_blend_func_s.c_str(); } void ZkEffectBaseInstance_setVisAlphaBlendFuncS(ZkEffectBaseInstance* slf, ZkString visAlphaBlendFuncS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->vis_alpha_blend_func_s = visAlphaBlendFuncS; } float ZkEffectBaseInstance_getVisTexAniFps(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_ani_fps; } void ZkEffectBaseInstance_setVisTexAniFps(ZkEffectBaseInstance* slf, float visTexAniFps) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->vis_tex_ani_fps = visTexAniFps; } int32_t ZkEffectBaseInstance_getVisTexAniIsLooping(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_ani_is_looping; } void ZkEffectBaseInstance_setVisTexAniIsLooping(ZkEffectBaseInstance* slf, int32_t visTexAniIsLooping) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->vis_tex_ani_is_looping = visTexAniIsLooping; } ZkString ZkEffectBaseInstance_getEmTrjModeS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_mode_s.c_str(); } void ZkEffectBaseInstance_setEmTrjModeS(ZkEffectBaseInstance* slf, ZkString emTrjModeS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_mode_s = emTrjModeS; } ZkString ZkEffectBaseInstance_getEmTrjOriginNode(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_origin_node.c_str(); } void ZkEffectBaseInstance_setEmTrjOriginNode(ZkEffectBaseInstance* slf, ZkString emTrjOriginNode) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_origin_node = emTrjOriginNode; } ZkString ZkEffectBaseInstance_getEmTrjTargetNode(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_target_node.c_str(); } void ZkEffectBaseInstance_setEmTrjTargetNode(ZkEffectBaseInstance* slf, ZkString emTrjTargetNode) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_target_node = emTrjTargetNode; } float ZkEffectBaseInstance_getEmTrjTargetRange(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_target_range; } void ZkEffectBaseInstance_setEmTrjTargetRange(ZkEffectBaseInstance* slf, float emTrjTargetRange) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_target_range = emTrjTargetRange; } float ZkEffectBaseInstance_getEmTrjTargetAzi(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_target_azi; } void ZkEffectBaseInstance_setEmTrjTargetAzi(ZkEffectBaseInstance* slf, float emTrjTargetAzi) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_target_azi = emTrjTargetAzi; } float ZkEffectBaseInstance_getEmTrjTargetElev(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_target_elev; } void ZkEffectBaseInstance_setEmTrjTargetElev(ZkEffectBaseInstance* slf, float emTrjTargetElev) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_target_elev = emTrjTargetElev; } int32_t ZkEffectBaseInstance_getEmTrjNumKeys(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_num_keys; } void ZkEffectBaseInstance_setEmTrjNumKeys(ZkEffectBaseInstance* slf, int32_t emTrjNumKeys) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_num_keys = emTrjNumKeys; } int32_t ZkEffectBaseInstance_getEmTrjNumKeysVar(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_num_keys_var; } void ZkEffectBaseInstance_setEmTrjNumKeysVar(ZkEffectBaseInstance* slf, int32_t emTrjNumKeysVar) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_num_keys_var = emTrjNumKeysVar; } float ZkEffectBaseInstance_getEmTrjAngleElevVar(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_angle_elev_var; } void ZkEffectBaseInstance_setEmTrjAngleElevVar(ZkEffectBaseInstance* slf, float emTrjAngleElevVar) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_angle_elev_var = emTrjAngleElevVar; } float ZkEffectBaseInstance_getEmTrjAngleHeadVar(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_angle_head_var; } void ZkEffectBaseInstance_setEmTrjAngleHeadVar(ZkEffectBaseInstance* slf, float emTrjAngleHeadVar) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_angle_head_var = emTrjAngleHeadVar; } float ZkEffectBaseInstance_getEmTrjKeyDistVar(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_key_dist_var; } void ZkEffectBaseInstance_setEmTrjKeyDistVar(ZkEffectBaseInstance* slf, float emTrjKeyDistVar) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_key_dist_var = emTrjKeyDistVar; } ZkString ZkEffectBaseInstance_getEmTrjLoopModeS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_loop_mode_s.c_str(); } void ZkEffectBaseInstance_setEmTrjLoopModeS(ZkEffectBaseInstance* slf, ZkString emTrjLoopModeS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_loop_mode_s = emTrjLoopModeS; } ZkString ZkEffectBaseInstance_getEmTrjEaseFuncS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_ease_func_s.c_str(); } void ZkEffectBaseInstance_setEmTrjEaseFuncS(ZkEffectBaseInstance* slf, ZkString emTrjEaseFuncS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_ease_func_s = emTrjEaseFuncS; } float ZkEffectBaseInstance_getEmTrjEaseVel(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_ease_vel; } void ZkEffectBaseInstance_setEmTrjEaseVel(ZkEffectBaseInstance* slf, float emTrjEaseVel) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_ease_vel = emTrjEaseVel; } float ZkEffectBaseInstance_getEmTrjDynUpdateDelay(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_dyn_update_delay; } void ZkEffectBaseInstance_setEmTrjDynUpdateDelay(ZkEffectBaseInstance* slf, float emTrjDynUpdateDelay) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_dyn_update_delay = emTrjDynUpdateDelay; } int32_t ZkEffectBaseInstance_getEmTrjDynUpdateTargetOnly(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_dyn_update_target_only; } void ZkEffectBaseInstance_setEmTrjDynUpdateTargetOnly(ZkEffectBaseInstance* slf, int32_t emTrjDynUpdateTargetOnly) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_trj_dyn_update_target_only = emTrjDynUpdateTargetOnly; } ZkString ZkEffectBaseInstance_getEmFxCreateS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_create_s.c_str(); } void ZkEffectBaseInstance_setEmFxCreateS(ZkEffectBaseInstance* slf, ZkString emFxCreateS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_create_s = emFxCreateS; } ZkString ZkEffectBaseInstance_getEmFxInvestOriginS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_invest_origin_s.c_str(); } void ZkEffectBaseInstance_setEmFxInvestOriginS(ZkEffectBaseInstance* slf, ZkString emFxInvestOriginS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_invest_origin_s = emFxInvestOriginS; } ZkString ZkEffectBaseInstance_getEmFxInvestTargetS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_invest_target_s.c_str(); } void ZkEffectBaseInstance_setEmFxInvestTargetS(ZkEffectBaseInstance* slf, ZkString emFxInvestTargetS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_invest_target_s = emFxInvestTargetS; } float ZkEffectBaseInstance_getEmFxTriggerDelay(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_trigger_delay; } void ZkEffectBaseInstance_setEmFxTriggerDelay(ZkEffectBaseInstance* slf, float emFxTriggerDelay) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_trigger_delay = emFxTriggerDelay; } int32_t ZkEffectBaseInstance_getEmFxCreateDownTrj(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_create_down_trj; } void ZkEffectBaseInstance_setEmFxCreateDownTrj(ZkEffectBaseInstance* slf, int32_t emFxCreateDownTrj) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_create_down_trj = emFxCreateDownTrj; } ZkString ZkEffectBaseInstance_getEmActionCollDynS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_action_coll_dyn_s.c_str(); } void ZkEffectBaseInstance_setEmActionCollDynS(ZkEffectBaseInstance* slf, ZkString emActionCollDynS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_action_coll_dyn_s = emActionCollDynS; } ZkString ZkEffectBaseInstance_getEmActionCollStatS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_action_coll_stat_s.c_str(); } void ZkEffectBaseInstance_setEmActionCollStatS(ZkEffectBaseInstance* slf, ZkString emActionCollStatS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_action_coll_stat_s = emActionCollStatS; } ZkString ZkEffectBaseInstance_getEmFxCollStatS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_coll_stat_s.c_str(); } void ZkEffectBaseInstance_setEmFxCollStatS(ZkEffectBaseInstance* slf, ZkString emFxCollStatS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_coll_stat_s = emFxCollStatS; } ZkString ZkEffectBaseInstance_getEmFxCollDynS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_coll_dyn_s.c_str(); } void ZkEffectBaseInstance_setEmFxCollDynS(ZkEffectBaseInstance* slf, ZkString emFxCollDynS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_coll_dyn_s = emFxCollDynS; } ZkString ZkEffectBaseInstance_getEmFxCollStatAlignS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_coll_stat_align_s.c_str(); } void ZkEffectBaseInstance_setEmFxCollStatAlignS(ZkEffectBaseInstance* slf, ZkString emFxCollStatAlignS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_coll_stat_align_s = emFxCollStatAlignS; } ZkString ZkEffectBaseInstance_getEmFxCollDynAlignS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_coll_dyn_align_s.c_str(); } void ZkEffectBaseInstance_setEmFxCollDynAlignS(ZkEffectBaseInstance* slf, ZkString emFxCollDynAlignS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_coll_dyn_align_s = emFxCollDynAlignS; } float ZkEffectBaseInstance_getEmFxLifespan(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_lifespan; } void ZkEffectBaseInstance_setEmFxLifespan(ZkEffectBaseInstance* slf, float emFxLifespan) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_lifespan = emFxLifespan; } int32_t ZkEffectBaseInstance_getEmCheckCollision(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_check_collision; } void ZkEffectBaseInstance_setEmCheckCollision(ZkEffectBaseInstance* slf, int32_t emCheckCollision) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_check_collision = emCheckCollision; } int32_t ZkEffectBaseInstance_getEmAdjustShpToOrigin(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_adjust_shp_to_origin; } void ZkEffectBaseInstance_setEmAdjustShpToOrigin(ZkEffectBaseInstance* slf, int32_t emAdjustShpToOrigin) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_adjust_shp_to_origin = emAdjustShpToOrigin; } float ZkEffectBaseInstance_getEmInvestNextKeyDuration(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_invest_next_key_duration; } void ZkEffectBaseInstance_setEmInvestNextKeyDuration(ZkEffectBaseInstance* slf, float emInvestNextKeyDuration) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_invest_next_key_duration = emInvestNextKeyDuration; } float ZkEffectBaseInstance_getEmFlyGravity(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fly_gravity; } void ZkEffectBaseInstance_setEmFlyGravity(ZkEffectBaseInstance* slf, float emFlyGravity) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fly_gravity = emFlyGravity; } ZkString ZkEffectBaseInstance_getEmSelfRotVelS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_self_rot_vel_s.c_str(); } void ZkEffectBaseInstance_setEmSelfRotVelS(ZkEffectBaseInstance* slf, ZkString emSelfRotVelS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_self_rot_vel_s = emSelfRotVelS; } ZkString ZkEffectBaseInstance_getLightPresetName(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->light_preset_name.c_str(); } void ZkEffectBaseInstance_setLightPresetName(ZkEffectBaseInstance* slf, ZkString lightPresetName) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->light_preset_name = lightPresetName; } ZkString ZkEffectBaseInstance_getSfxId(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->sfx_id.c_str(); } void ZkEffectBaseInstance_setSfxId(ZkEffectBaseInstance* slf, ZkString sfxId) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->sfx_id = sfxId; } int32_t ZkEffectBaseInstance_getSfxIsAmbient(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->sfx_is_ambient; } void ZkEffectBaseInstance_setSfxIsAmbient(ZkEffectBaseInstance* slf, int32_t sfxIsAmbient) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->sfx_is_ambient = sfxIsAmbient; } int32_t ZkEffectBaseInstance_getSendAssessMagic(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->send_assess_magic; } void ZkEffectBaseInstance_setSendAssessMagic(ZkEffectBaseInstance* slf, int32_t sendAssessMagic) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->send_assess_magic = sendAssessMagic; } float ZkEffectBaseInstance_getSecsPerDamage(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->secs_per_damage; } void ZkEffectBaseInstance_setSecsPerDamage(ZkEffectBaseInstance* slf, float secsPerDamage) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->secs_per_damage = secsPerDamage; } ZkString ZkEffectBaseInstance_getEmFxCollDynPercS(ZkEffectBaseInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_coll_dyn_perc_s.c_str(); } void ZkEffectBaseInstance_setEmFxCollDynPercS(ZkEffectBaseInstance* slf, ZkString emFxCollDynPercS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->em_fx_coll_dyn_perc_s = emFxCollDynPercS; } ZkString ZkEffectBaseInstance_getUserString(ZkEffectBaseInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->user_string[i].c_str(); } void ZkEffectBaseInstance_setUserString(ZkEffectBaseInstance* slf, ZkSize i, ZkString userString) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->user_string[i] = userString; } diff --git a/src/daedalus/FightAiInstance.cc b/src/daedalus/FightAiInstance.cc index 8b8c7d6..59fe95d 100644 --- a/src/daedalus/FightAiInstance.cc +++ b/src/daedalus/FightAiInstance.cc @@ -2,13 +2,13 @@ #include "../Internal.hh" ZkFightAiMove ZkFightAiInstance_getMove(ZkFightAiInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(6, i); return static_cast(SLF->move[i]); } void ZkFightAiInstance_setMove(ZkFightAiInstance* slf, ZkSize i, ZkFightAiMove move) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(6, i); SLF->move[i] = static_cast(move); } diff --git a/src/daedalus/FocusInstance.cc b/src/daedalus/FocusInstance.cc index 6c7e326..3004b16 100644 --- a/src/daedalus/FocusInstance.cc +++ b/src/daedalus/FocusInstance.cc @@ -2,191 +2,191 @@ #include "../Internal.hh" float ZkFocusInstance_getNpcLongrange(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_longrange; } void ZkFocusInstance_setNpcLongrange(ZkFocusInstance* slf, float npcLongrange) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_longrange = npcLongrange; } float ZkFocusInstance_getNpcRange1(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_range1; } void ZkFocusInstance_setNpcRange1(ZkFocusInstance* slf, float npcRange1) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_range1 = npcRange1; } float ZkFocusInstance_getNpcRange2(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_range2; } void ZkFocusInstance_setNpcRange2(ZkFocusInstance* slf, float npcRange2) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_range2 = npcRange2; } float ZkFocusInstance_getNpcAzi(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_azi; } void ZkFocusInstance_setNpcAzi(ZkFocusInstance* slf, float npcAzi) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_azi = npcAzi; } float ZkFocusInstance_getNpcElevdo(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_elevdo; } void ZkFocusInstance_setNpcElevdo(ZkFocusInstance* slf, float npcElevdo) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_elevdo = npcElevdo; } float ZkFocusInstance_getNpcElevup(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_elevup; } void ZkFocusInstance_setNpcElevup(ZkFocusInstance* slf, float npcElevup) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_elevup = npcElevup; } int32_t ZkFocusInstance_getNpcPrio(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc_prio; } void ZkFocusInstance_setNpcPrio(ZkFocusInstance* slf, int32_t npcPrio) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc_prio = npcPrio; } float ZkFocusInstance_getItemRange1(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->item_range1; } void ZkFocusInstance_setItemRange1(ZkFocusInstance* slf, float itemRange1) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->item_range1 = itemRange1; } float ZkFocusInstance_getItemRange2(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->item_range2; } void ZkFocusInstance_setItemRange2(ZkFocusInstance* slf, float itemRange2) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->item_range2 = itemRange2; } float ZkFocusInstance_getItemAzi(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->item_azi; } void ZkFocusInstance_setItemAzi(ZkFocusInstance* slf, float itemAzi) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->item_azi = itemAzi; } float ZkFocusInstance_getItemElevdo(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->item_elevdo; } void ZkFocusInstance_setItemElevdo(ZkFocusInstance* slf, float itemElevdo) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->item_elevdo = itemElevdo; } float ZkFocusInstance_getItemElevup(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->item_elevup; } void ZkFocusInstance_setItemElevup(ZkFocusInstance* slf, float itemElevup) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->item_elevup = itemElevup; } int32_t ZkFocusInstance_getItemPrio(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->item_prio; } void ZkFocusInstance_setItemPrio(ZkFocusInstance* slf, int32_t itemPrio) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->item_prio = itemPrio; } float ZkFocusInstance_getMobRange1(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mob_range1; } void ZkFocusInstance_setMobRange1(ZkFocusInstance* slf, float mobRange1) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mob_range1 = mobRange1; } float ZkFocusInstance_getMobRange2(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mob_range2; } void ZkFocusInstance_setMobRange2(ZkFocusInstance* slf, float mobRange2) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mob_range2 = mobRange2; } float ZkFocusInstance_getMobAzi(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mob_azi; } void ZkFocusInstance_setMobAzi(ZkFocusInstance* slf, float mobAzi) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mob_azi = mobAzi; } float ZkFocusInstance_getMobElevdo(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mob_elevdo; } void ZkFocusInstance_setMobElevdo(ZkFocusInstance* slf, float mobElevdo) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mob_elevdo = mobElevdo; } float ZkFocusInstance_getMobElevup(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mob_elevup; } void ZkFocusInstance_setMobElevup(ZkFocusInstance* slf, float mobElevup) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mob_elevup = mobElevup; } int32_t ZkFocusInstance_getMobPrio(ZkFocusInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mob_prio; } void ZkFocusInstance_setMobPrio(ZkFocusInstance* slf, int32_t mobPrio) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mob_prio = mobPrio; } diff --git a/src/daedalus/GuildValuesInstance.cc b/src/daedalus/GuildValuesInstance.cc index edfbe42..bfbdbd2 100644 --- a/src/daedalus/GuildValuesInstance.cc +++ b/src/daedalus/GuildValuesInstance.cc @@ -4,373 +4,373 @@ #include "../Internal.hh" int32_t ZkGuildValuesInstance_getWaterDepthKnee(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->water_depth_knee[i]; } void ZkGuildValuesInstance_setWaterDepthKnee(ZkGuildValuesInstance* slf, ZkSize i, int32_t waterDepthKnee) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->water_depth_knee[i] = waterDepthKnee; } int32_t ZkGuildValuesInstance_getWaterDepthChest(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->water_depth_chest[i]; } void ZkGuildValuesInstance_setWaterDepthChest(ZkGuildValuesInstance* slf, ZkSize i, int32_t waterDepthChest) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->water_depth_chest[i] = waterDepthChest; } int32_t ZkGuildValuesInstance_getJumpUpHeight(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->jumpup_height[i]; } void ZkGuildValuesInstance_setJumpUpHeight(ZkGuildValuesInstance* slf, ZkSize i, int32_t jumpUpHeight) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->jumpup_height[i] = jumpUpHeight; } int32_t ZkGuildValuesInstance_getSwimTime(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->swim_time[i]; } void ZkGuildValuesInstance_setSwimTime(ZkGuildValuesInstance* slf, ZkSize i, int32_t swimTime) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->swim_time[i] = swimTime; } int32_t ZkGuildValuesInstance_getDiveTime(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->dive_time[i]; } void ZkGuildValuesInstance_setDiveTime(ZkGuildValuesInstance* slf, ZkSize i, int32_t diveTime) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->dive_time[i] = diveTime; } int32_t ZkGuildValuesInstance_getStepHeight(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->step_height[i]; } void ZkGuildValuesInstance_setStepHeight(ZkGuildValuesInstance* slf, ZkSize i, int32_t stepHeight) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->step_height[i] = stepHeight; } int32_t ZkGuildValuesInstance_getJumpLowHeight(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->jumplow_height[i]; } void ZkGuildValuesInstance_setJumpLowHeight(ZkGuildValuesInstance* slf, ZkSize i, int32_t jumpLowHeight) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->jumplow_height[i] = jumpLowHeight; } int32_t ZkGuildValuesInstance_getJumpMidHeight(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->jumpmid_height[i]; } void ZkGuildValuesInstance_setJumpMidHeight(ZkGuildValuesInstance* slf, ZkSize i, int32_t jumpMidHeight) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->jumpmid_height[i] = jumpMidHeight; } int32_t ZkGuildValuesInstance_getSlideAngle(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->slide_angle[i]; } void ZkGuildValuesInstance_setSlideAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t slideAngle) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->slide_angle[i] = slideAngle; } int32_t ZkGuildValuesInstance_getSlideAngle2(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->slide_angle2[i]; } void ZkGuildValuesInstance_setSlideAngle2(ZkGuildValuesInstance* slf, ZkSize i, int32_t slideAngle2) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->slide_angle2[i] = slideAngle2; } int32_t ZkGuildValuesInstance_getDisableAutoRoll(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->disable_autoroll[i]; } void ZkGuildValuesInstance_setDisableAutoRoll(ZkGuildValuesInstance* slf, ZkSize i, int32_t disableAutoRoll) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->disable_autoroll[i] = disableAutoRoll; } int32_t ZkGuildValuesInstance_getSurfaceAlign(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->surface_align[i]; } void ZkGuildValuesInstance_setSurfaceAlign(ZkGuildValuesInstance* slf, ZkSize i, int32_t surfaceAlign) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->surface_align[i] = surfaceAlign; } int32_t ZkGuildValuesInstance_getClimbHeadingAngle(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->climb_heading_angle[i]; } void ZkGuildValuesInstance_setClimbHeadingAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t climbHeadingAngle) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->climb_heading_angle[i] = climbHeadingAngle; } int32_t ZkGuildValuesInstance_getClimbHorizAngle(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->climb_horiz_angle[i]; } void ZkGuildValuesInstance_setClimbHorizAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t climbHorizAngle) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->climb_horiz_angle[i] = climbHorizAngle; } int32_t ZkGuildValuesInstance_getClimbGroundAngle(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->climb_ground_angle[i]; } void ZkGuildValuesInstance_setClimbGroundAngle(ZkGuildValuesInstance* slf, ZkSize i, int32_t climbGroundAngle) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->climb_ground_angle[i] = climbGroundAngle; } int32_t ZkGuildValuesInstance_getFightRangeBase(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_base[i]; } void ZkGuildValuesInstance_setFightRangeBase(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRangeBase) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_base[i] = fightRangeBase; } int32_t ZkGuildValuesInstance_getFightRangeFist(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_fist[i]; } void ZkGuildValuesInstance_setFightRangeFist(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRangeFist) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_fist[i] = fightRangeFist; } int32_t ZkGuildValuesInstance_getFightRangeG(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_g[i]; } void ZkGuildValuesInstance_setFightRangeG(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRangeG) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_g[i] = fightRangeG; } int32_t ZkGuildValuesInstance_getFightRange1Hs(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_1hs[i]; } void ZkGuildValuesInstance_setFightRange1Hs(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRange1Hs) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_1hs[i] = fightRange1Hs; } int32_t ZkGuildValuesInstance_getFightRange1Ha(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_1ha[i]; } void ZkGuildValuesInstance_setFightRange1Ha(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRange1Ha) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_1ha[i] = fightRange1Ha; } int32_t ZkGuildValuesInstance_getFightRange2Hs(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_2hs[i]; } void ZkGuildValuesInstance_setFightRange2Hs(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRange2Hs) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_2hs[i] = fightRange2Hs; } int32_t ZkGuildValuesInstance_getFightRange2Ha(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->fight_range_2ha[i]; } void ZkGuildValuesInstance_setFightRange2Ha(ZkGuildValuesInstance* slf, ZkSize i, int32_t fightRange2Ha) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->fight_range_2ha[i] = fightRange2Ha; } int32_t ZkGuildValuesInstance_getFallDownHeight(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->falldown_height[i]; } void ZkGuildValuesInstance_setFallDownHeight(ZkGuildValuesInstance* slf, ZkSize i, int32_t fallDownHeight) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->falldown_height[i] = fallDownHeight; } int32_t ZkGuildValuesInstance_getFallDownDamage(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->falldown_damage[i]; } void ZkGuildValuesInstance_setFallDownDamage(ZkGuildValuesInstance* slf, ZkSize i, int32_t fallDownDamage) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->falldown_damage[i] = fallDownDamage; } int32_t ZkGuildValuesInstance_getBloodDisabled(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->blood_disabled[i]; } void ZkGuildValuesInstance_setBloodDisabled(ZkGuildValuesInstance* slf, ZkSize i, int32_t bloodDisabled) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->blood_disabled[i] = bloodDisabled; } int32_t ZkGuildValuesInstance_getBloodMaxDistance(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->blood_max_distance[i]; } void ZkGuildValuesInstance_setBloodMaxDistance(ZkGuildValuesInstance* slf, ZkSize i, int32_t bloodMaxDistance) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->blood_max_distance[i] = bloodMaxDistance; } int32_t ZkGuildValuesInstance_getBloodAmount(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->blood_amount[i]; } void ZkGuildValuesInstance_setBloodAmount(ZkGuildValuesInstance* slf, ZkSize i, int32_t bloodAmount) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->blood_amount[i] = bloodAmount; } int32_t ZkGuildValuesInstance_getBloodFlow(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->blood_flow[i]; } void ZkGuildValuesInstance_setBloodFlow(ZkGuildValuesInstance* slf, ZkSize i, int32_t bloodFlow) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->blood_flow[i] = bloodFlow; } int32_t ZkGuildValuesInstance_getTurnSpeed(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->turn_speed[i]; } void ZkGuildValuesInstance_setTurnSpeed(ZkGuildValuesInstance* slf, ZkSize i, int32_t turnSpeed) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->turn_speed[i] = turnSpeed; } ZkString ZkGuildValuesInstance_getBloodEmitter(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->blood_emitter[i].c_str(); } void ZkGuildValuesInstance_setBloodEmitter(ZkGuildValuesInstance* slf, ZkSize i, ZkString bloodEmitter) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->blood_emitter[i] = bloodEmitter; } ZkString ZkGuildValuesInstance_getBloodTexture(ZkGuildValuesInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkGuildValuesInstance_ElementLength, i); return SLF->blood_texture[i].c_str(); } void ZkGuildValuesInstance_setBloodTexture(ZkGuildValuesInstance* slf, ZkSize i, ZkString bloodTexture) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkGuildValuesInstance_ElementLength, i); SLF->blood_texture[i] = bloodTexture; } diff --git a/src/daedalus/InfoInstance.cc b/src/daedalus/InfoInstance.cc index 1f908e1..f827da2 100644 --- a/src/daedalus/InfoInstance.cc +++ b/src/daedalus/InfoInstance.cc @@ -2,81 +2,81 @@ #include "../Internal.hh" int32_t ZkInfoInstance_getNpc(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc; } void ZkInfoInstance_setNpc(ZkInfoInstance* slf, int32_t npc) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc = npc; } int32_t ZkInfoInstance_getNr(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->nr; } void ZkInfoInstance_setNr(ZkInfoInstance* slf, int32_t nr) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->nr = nr; } int32_t ZkInfoInstance_getImportant(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->important; } void ZkInfoInstance_setImportant(ZkInfoInstance* slf, int32_t important) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->important = important; } int32_t ZkInfoInstance_getCondition(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->condition; } void ZkInfoInstance_setCondition(ZkInfoInstance* slf, int32_t condition) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->condition = condition; } int32_t ZkInfoInstance_getInformation(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->information; } void ZkInfoInstance_setInformation(ZkInfoInstance* slf, int32_t information) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->information = information; } ZkString ZkInfoInstance_getDescription(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->description.c_str(); } void ZkInfoInstance_setDescription(ZkInfoInstance* slf, ZkString description) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->description = description; } int32_t ZkInfoInstance_getTrade(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->trade; } void ZkInfoInstance_setTrade(ZkInfoInstance* slf, int32_t trade) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->trade = trade; } int32_t ZkInfoInstance_getPermanent(ZkInfoInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->permanent; } void ZkInfoInstance_setPermanent(ZkInfoInstance* slf, int32_t permanent) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->permanent = permanent; } diff --git a/src/daedalus/ItemInstance.cc b/src/daedalus/ItemInstance.cc index 97f7c40..892ce91 100644 --- a/src/daedalus/ItemInstance.cc +++ b/src/daedalus/ItemInstance.cc @@ -2,441 +2,441 @@ #include "../Internal.hh" int32_t ZkItemInstance_getId(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->id; } void ZkItemInstance_setId(ZkItemInstance* slf, int32_t id) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->id = id; } ZkString ZkItemInstance_getName(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->name.c_str(); } void ZkItemInstance_setName(ZkItemInstance* slf, ZkString name) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->name = name; } ZkString ZkItemInstance_getNameId(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->name_id.c_str(); } void ZkItemInstance_setNameId(ZkItemInstance* slf, ZkString nameId) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->name_id = nameId; } int32_t ZkItemInstance_getHp(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->hp; } void ZkItemInstance_setHp(ZkItemInstance* slf, int32_t hp) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->hp = hp; } int32_t ZkItemInstance_getHpMax(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->hp_max; } void ZkItemInstance_setHpMax(ZkItemInstance* slf, int32_t hpMax) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->hp_max = hpMax; } int32_t ZkItemInstance_getMainFlag(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->main_flag; } void ZkItemInstance_setMainFlag(ZkItemInstance* slf, int32_t mainFlag) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->main_flag = mainFlag; } int32_t ZkItemInstance_getFlags(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->flags); } void ZkItemInstance_setFlags(ZkItemInstance* slf, int32_t flags) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->flags = static_cast(flags); } int32_t ZkItemInstance_getWeight(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->weight; } void ZkItemInstance_setWeight(ZkItemInstance* slf, int32_t weight) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->weight = weight; } int32_t ZkItemInstance_getValue(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->value; } void ZkItemInstance_setValue(ZkItemInstance* slf, int32_t value) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->value = value; } int32_t ZkItemInstance_getDamageType(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->damage_type; } void ZkItemInstance_setDamageType(ZkItemInstance* slf, int32_t damageType) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->damage_type = damageType; } int32_t ZkItemInstance_getDamageTotal(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->damage_total; } void ZkItemInstance_setDamageTotal(ZkItemInstance* slf, int32_t damageTotal) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->damage_total = damageTotal; } int32_t ZkItemInstance_getWear(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->wear; } void ZkItemInstance_setWear(ZkItemInstance* slf, int32_t wear) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->wear = wear; } int32_t ZkItemInstance_getNutrition(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->nutrition; } void ZkItemInstance_setNutrition(ZkItemInstance* slf, int32_t nutrition) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->nutrition = nutrition; } int32_t ZkItemInstance_getMagic(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->magic; } void ZkItemInstance_setMagic(ZkItemInstance* slf, int32_t magic) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->magic = magic; } int32_t ZkItemInstance_getOnEquip(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->on_equip; } void ZkItemInstance_setOnEquip(ZkItemInstance* slf, int32_t onEquip) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->on_equip = onEquip; } int32_t ZkItemInstance_getOnUnequip(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->on_unequip; } void ZkItemInstance_setOnUnequip(ZkItemInstance* slf, int32_t onUnequip) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->on_unequip = onUnequip; } int32_t ZkItemInstance_getOwner(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->owner; } void ZkItemInstance_setOwner(ZkItemInstance* slf, int32_t owner) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->owner = owner; } int32_t ZkItemInstance_getOwnerGuild(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->owner_guild; } void ZkItemInstance_setOwnerGuild(ZkItemInstance* slf, int32_t ownerGuild) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->owner_guild = ownerGuild; } int32_t ZkItemInstance_getDisguiseGuild(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->disguise_guild; } void ZkItemInstance_setDisguiseGuild(ZkItemInstance* slf, int32_t disguiseGuild) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->disguise_guild = disguiseGuild; } ZkString ZkItemInstance_getVisual(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->visual.c_str(); } void ZkItemInstance_setVisual(ZkItemInstance* slf, ZkString visual) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->visual = visual; } ZkString ZkItemInstance_getVisualChange(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->visual_change.c_str(); } void ZkItemInstance_setVisualChange(ZkItemInstance* slf, ZkString visualChange) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->visual_change = visualChange; } ZkString ZkItemInstance_getEffect(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->effect.c_str(); } void ZkItemInstance_setEffect(ZkItemInstance* slf, ZkString effect) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->effect = effect; } int32_t ZkItemInstance_getVisualSkin(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->visual_skin; } void ZkItemInstance_setVisualSkin(ZkItemInstance* slf, int32_t visualSkin) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->visual_skin = visualSkin; } ZkString ZkItemInstance_getSchemeName(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->scheme_name.c_str(); } void ZkItemInstance_setSchemeName(ZkItemInstance* slf, ZkString schemeName) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->scheme_name = schemeName; } int32_t ZkItemInstance_getMaterial(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->material; } void ZkItemInstance_setMaterial(ZkItemInstance* slf, int32_t material) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->material = material; } int32_t ZkItemInstance_getMunition(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->munition; } void ZkItemInstance_setMunition(ZkItemInstance* slf, int32_t munition) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->munition = munition; } int32_t ZkItemInstance_getSpell(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->spell; } void ZkItemInstance_setSpell(ZkItemInstance* slf, int32_t spell) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->spell = spell; } int32_t ZkItemInstance_getRange(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->range; } void ZkItemInstance_setRange(ZkItemInstance* slf, int32_t range) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->range = range; } int32_t ZkItemInstance_getMagCircle(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->mag_circle; } void ZkItemInstance_setMagCircle(ZkItemInstance* slf, int32_t magCircle) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->mag_circle = magCircle; } ZkString ZkItemInstance_getDescription(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->description.c_str(); } void ZkItemInstance_setDescription(ZkItemInstance* slf, ZkString description) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->description = description; } int32_t ZkItemInstance_getInvZBias(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->inv_zbias; } void ZkItemInstance_setInvZBias(ZkItemInstance* slf, int32_t invZBias) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->inv_zbias = invZBias; } int32_t ZkItemInstance_getInvRotX(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->inv_rot_x; } void ZkItemInstance_setInvRotX(ZkItemInstance* slf, int32_t invRotX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->inv_rot_x = invRotX; } int32_t ZkItemInstance_getInvRotY(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->inv_rot_y; } void ZkItemInstance_setInvRotY(ZkItemInstance* slf, int32_t invRotY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->inv_rot_y = invRotY; } int32_t ZkItemInstance_getInvRotZ(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->inv_rot_z; } void ZkItemInstance_setInvRotZ(ZkItemInstance* slf, int32_t invRotZ) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->inv_rot_z = invRotZ; } int32_t ZkItemInstance_getInvAnimate(ZkItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->inv_animate; } void ZkItemInstance_setInvAnimate(ZkItemInstance* slf, int32_t invAnimate) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->inv_animate = invAnimate; } int32_t ZkItemInstance_getDamage(ZkItemInstance const* slf, ZkDamageType type) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->damage[type]; } void ZkItemInstance_setDamage(ZkItemInstance* slf, ZkDamageType type, int32_t damage) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->damage[static_cast(type)] = damage; } int32_t ZkItemInstance_getProtection(ZkItemInstance const* slf, ZkDamageType type) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->protection[type]; } void ZkItemInstance_setProtection(ZkItemInstance* slf, ZkDamageType type, int32_t protection) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->protection[static_cast(type)] = protection; } int32_t ZkItemInstance_getCondAtr(ZkItemInstance const* slf, ZkItemInstanceConditionSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->cond_atr[slot]; } void ZkItemInstance_setCondAtr(ZkItemInstance* slf, ZkItemInstanceConditionSlot slot, int32_t condAtr) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->cond_atr[static_cast(slot)] = condAtr; } int32_t ZkItemInstance_getCondValue(ZkItemInstance const* slf, ZkItemInstanceConditionSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->cond_value[slot]; } void ZkItemInstance_setCondValue(ZkItemInstance* slf, ZkItemInstanceConditionSlot slot, int32_t condValue) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->cond_value[static_cast(slot)] = condValue; } int32_t ZkItemInstance_getChangeAtr(ZkItemInstance const* slf, ZkItemInstanceConditionSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->change_atr[slot]; } void ZkItemInstance_setChangeAtr(ZkItemInstance* slf, ZkItemInstanceConditionSlot slot, int32_t changeAtr) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->change_atr[static_cast(slot)] = changeAtr; } int32_t ZkItemInstance_getChangeValue(ZkItemInstance const* slf, ZkItemInstanceConditionSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->change_value[slot]; } void ZkItemInstance_setChangeValue(ZkItemInstance* slf, ZkItemInstanceConditionSlot slot, int32_t changeValue) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->change_value[static_cast(slot)] = changeValue; } int32_t ZkItemInstance_getOnState(ZkItemInstance const* slf, ZkItemInstanceStateSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->on_state[slot]; } void ZkItemInstance_setOnState(ZkItemInstance* slf, ZkItemInstanceStateSlot slot, int32_t onState) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->on_state[static_cast(slot)] = onState; } ZkString ZkItemInstance_getText(ZkItemInstance const* slf, ZkItemInstanceTextSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->text[slot].c_str(); } void ZkItemInstance_setText(ZkItemInstance* slf, ZkItemInstanceTextSlot slot, ZkString text) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->text[static_cast(slot)] = text; } int32_t ZkItemInstance_getCount(ZkItemInstance const* slf, ZkItemInstanceTextSlot slot) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->count[slot]; } void ZkItemInstance_setCount(ZkItemInstance* slf, ZkItemInstanceTextSlot slot, int32_t count) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->count[static_cast(slot)] = count; } diff --git a/src/daedalus/ItemReactInstance.cc b/src/daedalus/ItemReactInstance.cc index 0ec2ab8..4d1ead1 100644 --- a/src/daedalus/ItemReactInstance.cc +++ b/src/daedalus/ItemReactInstance.cc @@ -2,71 +2,71 @@ #include "../Internal.hh" int32_t ZkItemReactInstance_getNpc(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->npc; } void ZkItemReactInstance_setNpc(ZkItemReactInstance* slf, int32_t npc) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->npc = npc; } int32_t ZkItemReactInstance_getTradeItem(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->trade_item; } void ZkItemReactInstance_setTradeItem(ZkItemReactInstance* slf, int32_t tradeItem) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->trade_item = tradeItem; } int32_t ZkItemReactInstance_getTradeAmount(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->trade_amount; } void ZkItemReactInstance_setTradeAmount(ZkItemReactInstance* slf, int32_t tradeAmount) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->trade_amount = tradeAmount; } int32_t ZkItemReactInstance_getRequestedCategory(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->requested_cat; } void ZkItemReactInstance_setRequestedCategory(ZkItemReactInstance* slf, int32_t requestedCategory) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->requested_cat = requestedCategory; } int32_t ZkItemReactInstance_getRequestedItem(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->requested_item; } void ZkItemReactInstance_setRequestedItem(ZkItemReactInstance* slf, int32_t requestedItem) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->requested_item = requestedItem; } int32_t ZkItemReactInstance_getRequestedAmount(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->requested_amount; } void ZkItemReactInstance_setRequestedAmount(ZkItemReactInstance* slf, int32_t requestedAmount) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->requested_amount = requestedAmount; } int32_t ZkItemReactInstance_getReaction(ZkItemReactInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->reaction; } void ZkItemReactInstance_setReaction(ZkItemReactInstance* slf, int32_t reaction) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->reaction = reaction; } diff --git a/src/daedalus/MenuInstance.cc b/src/daedalus/MenuInstance.cc index ccec8ad..019c1a6 100644 --- a/src/daedalus/MenuInstance.cc +++ b/src/daedalus/MenuInstance.cc @@ -2,133 +2,133 @@ #include "../Internal.hh" ZkString ZkMenuInstance_getBackPic(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->back_pic.c_str(); } void ZkMenuInstance_setBackPic(ZkMenuInstance* slf, ZkString backPic) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->back_pic = backPic; } ZkString ZkMenuInstance_getBackWorld(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->back_world.c_str(); } void ZkMenuInstance_setBackWorld(ZkMenuInstance* slf, ZkString backWorld) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->back_world = backWorld; } int32_t ZkMenuInstance_getPosX(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->pos_x; } void ZkMenuInstance_setPosX(ZkMenuInstance* slf, int32_t posX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->pos_x = posX; } int32_t ZkMenuInstance_getPosY(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->pos_y; } void ZkMenuInstance_setPosY(ZkMenuInstance* slf, int32_t posY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->pos_y = posY; } int32_t ZkMenuInstance_getDimX(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->dim_x; } void ZkMenuInstance_setDimX(ZkMenuInstance* slf, int32_t dimX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->dim_x = dimX; } int32_t ZkMenuInstance_getDimY(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->dim_y; } void ZkMenuInstance_setDimY(ZkMenuInstance* slf, int32_t dimY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->dim_y = dimY; } int32_t ZkMenuInstance_getAlpha(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->alpha; } void ZkMenuInstance_setAlpha(ZkMenuInstance* slf, int32_t alpha) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->alpha = alpha; } ZkString ZkMenuInstance_getMusicTheme(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->music_theme.c_str(); } void ZkMenuInstance_setMusicTheme(ZkMenuInstance* slf, ZkString musicTheme) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->music_theme = musicTheme; } int32_t ZkMenuInstance_getEventTimerMsec(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->event_timer_msec; } void ZkMenuInstance_setEventTimerMsec(ZkMenuInstance* slf, int32_t eventTimerMsec) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->event_timer_msec = eventTimerMsec; } int32_t ZkMenuInstance_getFlags(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->flags); } void ZkMenuInstance_setFlags(ZkMenuInstance* slf, int32_t flags) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->flags = static_cast(flags); } int32_t ZkMenuInstance_getDefaultOutgame(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->default_outgame; } void ZkMenuInstance_setDefaultOutgame(ZkMenuInstance* slf, int32_t defaultOutgame) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->default_outgame = defaultOutgame; } int32_t ZkMenuInstance_getDefaultIngame(ZkMenuInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->default_ingame; } void ZkMenuInstance_setDefaultIngame(ZkMenuInstance* slf, int32_t defaultIngame) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->default_ingame = defaultIngame; } ZkString ZkMenuInstance_getItem(ZkMenuInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuInstance_ItemCount, i); return SLF->items[i].c_str(); } void ZkMenuInstance_setItem(ZkMenuInstance* slf, ZkSize i, ZkString item) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuInstance_ItemCount, i); SLF->items[i] = item; } diff --git a/src/daedalus/MenuItemInstance.cc b/src/daedalus/MenuItemInstance.cc index e47b1d9..92eb0d8 100644 --- a/src/daedalus/MenuItemInstance.cc +++ b/src/daedalus/MenuItemInstance.cc @@ -2,293 +2,293 @@ #include "../Internal.hh" ZkString ZkMenuItemInstance_getFontName(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->fontname.c_str(); } void ZkMenuItemInstance_setFontName(ZkMenuItemInstance* slf, ZkString fontName) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->fontname = fontName; } ZkString ZkMenuItemInstance_getBackpic(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->backpic.c_str(); } void ZkMenuItemInstance_setBackpic(ZkMenuItemInstance* slf, ZkString backpic) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->backpic = backpic; } ZkString ZkMenuItemInstance_getAlphaMode(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->alphamode.c_str(); } void ZkMenuItemInstance_setAlphaMode(ZkMenuItemInstance* slf, ZkString alphaMode) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->alphamode = alphaMode; } int32_t ZkMenuItemInstance_getAlpha(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->alpha; } void ZkMenuItemInstance_setAlpha(ZkMenuItemInstance* slf, int32_t alpha) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->alpha = alpha; } ZkMenuItemType ZkMenuItemInstance_getType(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->type); } void ZkMenuItemInstance_setType(ZkMenuItemInstance* slf, ZkMenuItemType type) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->type = static_cast(type); } ZkString ZkMenuItemInstance_getOnChgSetOption(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->on_chg_set_option.c_str(); } void ZkMenuItemInstance_setOnChgSetOption(ZkMenuItemInstance* slf, ZkString onChgSetOption) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->on_chg_set_option = onChgSetOption; } ZkString ZkMenuItemInstance_getOnChgSetOptionSection(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->on_chg_set_option_section.c_str(); } void ZkMenuItemInstance_setOnChgSetOptionSection(ZkMenuItemInstance* slf, ZkString onChgSetOptionSection) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->on_chg_set_option_section = onChgSetOptionSection; } int32_t ZkMenuItemInstance_getPosX(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->pos_x; } void ZkMenuItemInstance_setPosX(ZkMenuItemInstance* slf, int32_t posX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->pos_x = posX; } int32_t ZkMenuItemInstance_getPosY(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->pos_y; } void ZkMenuItemInstance_setPosY(ZkMenuItemInstance* slf, int32_t posY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->pos_y = posY; } int32_t ZkMenuItemInstance_getDimX(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->dim_x; } void ZkMenuItemInstance_setDimX(ZkMenuItemInstance* slf, int32_t dimX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->dim_x = dimX; } int32_t ZkMenuItemInstance_getDimY(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->dim_y; } void ZkMenuItemInstance_setDimY(ZkMenuItemInstance* slf, int32_t dimY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->dim_y = dimY; } float ZkMenuItemInstance_getSizeStartScale(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->size_start_scale; } void ZkMenuItemInstance_setSizeStartScale(ZkMenuItemInstance* slf, float sizeStartScale) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->size_start_scale = sizeStartScale; } int32_t ZkMenuItemInstance_getFlags(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->flags); } void ZkMenuItemInstance_setFlags(ZkMenuItemInstance* slf, int32_t flags) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->flags = static_cast(flags); } float ZkMenuItemInstance_getOpenDelayTime(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->open_delay_time; } void ZkMenuItemInstance_setOpenDelayTime(ZkMenuItemInstance* slf, float openDelayTime) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->open_delay_time = openDelayTime; } float ZkMenuItemInstance_getOpenDuration(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->open_duration; } void ZkMenuItemInstance_setOpenDuration(ZkMenuItemInstance* slf, float openDuration) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->open_duration = openDuration; } int32_t ZkMenuItemInstance_getFramePosX(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->frame_posx; } void ZkMenuItemInstance_setFramePosX(ZkMenuItemInstance* slf, int32_t framePosX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->frame_posx = framePosX; } int32_t ZkMenuItemInstance_getFramePosY(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->frame_posy; } void ZkMenuItemInstance_setFramePosY(ZkMenuItemInstance* slf, int32_t framePosY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->frame_posy = framePosY; } int32_t ZkMenuItemInstance_getFrameSizeX(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->frame_sizex; } void ZkMenuItemInstance_setFrameSizeX(ZkMenuItemInstance* slf, int32_t frameSizeX) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->frame_sizex = frameSizeX; } int32_t ZkMenuItemInstance_getFrameSizeY(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->frame_sizey; } void ZkMenuItemInstance_setFrameSizeY(ZkMenuItemInstance* slf, int32_t frameSizeY) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->frame_sizey = frameSizeY; } ZkString ZkMenuItemInstance_getHideIfOptionSectionSet(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->hide_if_option_section_set.c_str(); } void ZkMenuItemInstance_setHideIfOptionSectionSet(ZkMenuItemInstance* slf, ZkString hideIfOptionSectionSet) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->hide_if_option_section_set = hideIfOptionSectionSet; } ZkString ZkMenuItemInstance_getHideIfOptionSet(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->hide_if_option_set.c_str(); } void ZkMenuItemInstance_setHideIfOptionSet(ZkMenuItemInstance* slf, ZkString hideIfOptionSet) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->hide_if_option_set = hideIfOptionSet; } int32_t ZkMenuItemInstance_getHideOnValue(ZkMenuItemInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->hide_on_value; } void ZkMenuItemInstance_setHideOnValue(ZkMenuItemInstance* slf, int32_t hideOnValue) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->hide_on_value = hideOnValue; } ZkString ZkMenuItemInstance_getText(ZkMenuItemInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuItemInstance_TextCount, i); return SLF->text->c_str(); } void ZkMenuItemInstance_setText(ZkMenuItemInstance* slf, ZkSize i, ZkString text) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuItemInstance_TextCount, i); SLF->text[i] = text; } int32_t ZkMenuItemInstance_getOnSelAction(ZkMenuItemInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuItemInstance_SelectActionCount, i); return SLF->on_sel_action[i]; } void ZkMenuItemInstance_setOnSelAction(ZkMenuItemInstance* slf, ZkSize i, int32_t onSelAction) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuItemInstance_TextCount, i); SLF->on_sel_action[i] = onSelAction; } ZkString ZkMenuItemInstance_getOnSelActionS(ZkMenuItemInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuItemInstance_SelectActionCount, i); return SLF->on_sel_action_s[i].c_str(); } void ZkMenuItemInstance_setOnSelActionS(ZkMenuItemInstance* slf, ZkSize i, ZkString onSelActionS) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuItemInstance_SelectActionCount, i); SLF->on_sel_action_s[i] = onSelActionS; } int32_t ZkMenuItemInstance_getOnEventAction(ZkMenuItemInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuItemInstance_EventActionCount, i); return SLF->on_event_action[i]; } void ZkMenuItemInstance_setOnEventAction(ZkMenuItemInstance* slf, ZkSize i, int32_t onEventAction) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuItemInstance_EventActionCount, i); SLF->on_event_action[i] = onEventAction; } float ZkMenuItemInstance_getUserFloat(ZkMenuItemInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuItemInstance_UserItemCount, i); return SLF->user_float[i]; } void ZkMenuItemInstance_setUserFloat(ZkMenuItemInstance* slf, ZkSize i, float userFloat) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuItemInstance_UserItemCount, i); SLF->user_float[i] = userFloat; } ZkString ZkMenuItemInstance_getUserString(ZkMenuItemInstance const* slf, ZkSize i) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(ZkMenuItemInstance_UserItemCount, i); return SLF->user_string[i].c_str(); } void ZkMenuItemInstance_setUserString(ZkMenuItemInstance* slf, ZkSize i, ZkString userString) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; ZKC_CHECK_LENAV(ZkMenuItemInstance_UserItemCount, i); SLF->user_string[i] = userString; } diff --git a/src/daedalus/MissionInstance.cc b/src/daedalus/MissionInstance.cc index 3b9ea70..2677ded 100644 --- a/src/daedalus/MissionInstance.cc +++ b/src/daedalus/MissionInstance.cc @@ -2,131 +2,131 @@ #include "../Internal.hh" ZkString ZkMissionInstance_getName(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->name.c_str(); } void ZkMissionInstance_setName(ZkMissionInstance* slf, ZkString name) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->name = name; } ZkString ZkMissionInstance_getDescription(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->description.c_str(); } void ZkMissionInstance_setDescription(ZkMissionInstance* slf, ZkString description) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->description = description; } int32_t ZkMissionInstance_getDuration(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->duration; } void ZkMissionInstance_setDuration(ZkMissionInstance* slf, int32_t duration) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->duration = duration; } int32_t ZkMissionInstance_getImportant(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->important; } void ZkMissionInstance_setImportant(ZkMissionInstance* slf, int32_t important) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->important = important; } int32_t ZkMissionInstance_getOfferConditions(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->offer_conditions; } void ZkMissionInstance_setOfferConditions(ZkMissionInstance* slf, int32_t offerConditions) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->offer_conditions = offerConditions; } int32_t ZkMissionInstance_getOffer(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->offer; } void ZkMissionInstance_setOffer(ZkMissionInstance* slf, int32_t offer) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->offer = offer; } int32_t ZkMissionInstance_getSuccessConditions(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->success_conditions; } void ZkMissionInstance_setSuccessConditions(ZkMissionInstance* slf, int32_t successConditions) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->success_conditions = successConditions; } int32_t ZkMissionInstance_getSuccess(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->success; } void ZkMissionInstance_setSuccess(ZkMissionInstance* slf, int32_t success) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->success = success; } int32_t ZkMissionInstance_getFailureConditions(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->failure_conditions; } void ZkMissionInstance_setFailureConditions(ZkMissionInstance* slf, int32_t failureConditions) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->failure_conditions = failureConditions; } int32_t ZkMissionInstance_getFailure(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->failure; } void ZkMissionInstance_setFailure(ZkMissionInstance* slf, int32_t failure) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->failure = failure; } int32_t ZkMissionInstance_getObsoleteConditions(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->obsolete_conditions; } void ZkMissionInstance_setObsoleteConditions(ZkMissionInstance* slf, int32_t obsoleteConditions) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->obsolete_conditions = obsoleteConditions; } int32_t ZkMissionInstance_getObsolete(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->obsolete; } void ZkMissionInstance_setObsolete(ZkMissionInstance* slf, int32_t obsolete) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->obsolete = obsolete; } int32_t ZkMissionInstance_getRunning(ZkMissionInstance const* slf) { - ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get()); return SLF->running; } void ZkMissionInstance_setRunning(ZkMissionInstance* slf, int32_t running) { - ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf);ZKC_CHECK_NULLV(slf->get());; SLF->running = running; } diff --git a/src/daedalus/MusicJingleInstance.cc b/src/daedalus/MusicJingleInstance.cc index 74aea7e..a704f62 100644 --- a/src/daedalus/MusicJingleInstance.cc +++ b/src/daedalus/MusicJingleInstance.cc @@ -3,40 +3,52 @@ ZkString ZkMusicJingleInstance_getName(ZkMusicJingleInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->name.c_str(); } void ZkMusicJingleInstance_setName(ZkMusicJingleInstance* slf, ZkString name) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->name = name; } int32_t ZkMusicJingleInstance_getLoop(ZkMusicJingleInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->loop; } void ZkMusicJingleInstance_setLoop(ZkMusicJingleInstance* slf, int32_t loop) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->loop = loop; } float ZkMusicJingleInstance_getVol(ZkMusicJingleInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vol; } void ZkMusicJingleInstance_setVol(ZkMusicJingleInstance* slf, float vol) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vol = vol; } int32_t ZkMusicJingleInstance_getTranssubtype(ZkMusicJingleInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->transsubtype; } void ZkMusicJingleInstance_setTranssubtype(ZkMusicJingleInstance* slf, int32_t transsubtype) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->transsubtype = transsubtype; } diff --git a/src/daedalus/MusicSystemInstance.cc b/src/daedalus/MusicSystemInstance.cc index 724535b..856dcda 100644 --- a/src/daedalus/MusicSystemInstance.cc +++ b/src/daedalus/MusicSystemInstance.cc @@ -3,60 +3,78 @@ float ZkMusicSystemInstance_getVolume(ZkMusicSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->volume; } void ZkMusicSystemInstance_setVolume(ZkMusicSystemInstance* slf, float volume) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->volume = volume; } int32_t ZkMusicSystemInstance_getBitResolution(ZkMusicSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->bit_resolution; } void ZkMusicSystemInstance_setBitResolution(ZkMusicSystemInstance* slf, int32_t bitResolution) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->bit_resolution = bitResolution; } int32_t ZkMusicSystemInstance_getGlobalReverbEnabled(ZkMusicSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->global_reverb_enabled; } void ZkMusicSystemInstance_setGlobalReverbEnabled(ZkMusicSystemInstance* slf, int32_t globalReverbEnabled) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->global_reverb_enabled = globalReverbEnabled; } int32_t ZkMusicSystemInstance_getSampleRate(ZkMusicSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sample_rate; } void ZkMusicSystemInstance_setSampleRate(ZkMusicSystemInstance* slf, int32_t sampleRate) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->sample_rate = sampleRate; } int32_t ZkMusicSystemInstance_getNumChannels(ZkMusicSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->num_channels; } void ZkMusicSystemInstance_setNumChannels(ZkMusicSystemInstance* slf, int32_t numChannels) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->num_channels = numChannels; } int32_t ZkMusicSystemInstance_getReverbBufferSize(ZkMusicSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->reverb_buffer_size; } void ZkMusicSystemInstance_setReverbBufferSize(ZkMusicSystemInstance* slf, int32_t reverbBufferSize) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->reverb_buffer_size = reverbBufferSize; } diff --git a/src/daedalus/MusicThemeInstance.cc b/src/daedalus/MusicThemeInstance.cc index 7b07d21..b1a3134 100644 --- a/src/daedalus/MusicThemeInstance.cc +++ b/src/daedalus/MusicThemeInstance.cc @@ -3,70 +3,91 @@ ZkString ZkMusicThemeInstance_getFile(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->file.c_str(); } void ZkMusicThemeInstance_setFile(ZkMusicThemeInstance* slf, ZkString file) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->file = file; } float ZkMusicThemeInstance_getVol(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vol; } void ZkMusicThemeInstance_setVol(ZkMusicThemeInstance* slf, float vol) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vol = vol; } int32_t ZkMusicThemeInstance_getLoop(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->loop; } void ZkMusicThemeInstance_setLoop(ZkMusicThemeInstance* slf, int32_t loop) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->loop = loop; } float ZkMusicThemeInstance_getReverbmix(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->reverbmix; } void ZkMusicThemeInstance_setReverbmix(ZkMusicThemeInstance* slf, float reverbmix) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->reverbmix = reverbmix; } float ZkMusicThemeInstance_getReverbtime(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->reverbtime; } void ZkMusicThemeInstance_setReverbtime(ZkMusicThemeInstance* slf, float reverbtime) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->reverbtime = reverbtime; } ZkMusicTransitionEffect ZkMusicThemeInstance_getTranstype(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->transtype); } void ZkMusicThemeInstance_setTranstype(ZkMusicThemeInstance* slf, ZkMusicTransitionEffect transtype) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->transtype = static_cast(transtype); } ZkMusicTransitionType ZkMusicThemeInstance_getTranssubtype(ZkMusicThemeInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->transsubtype); } void ZkMusicThemeInstance_setTranssubtype(ZkMusicThemeInstance* slf, ZkMusicTransitionType transsubtype) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->transsubtype = static_cast(transsubtype); } diff --git a/src/daedalus/NpcInstance.cc b/src/daedalus/NpcInstance.cc index 17e1c2b..9b6f040 100644 --- a/src/daedalus/NpcInstance.cc +++ b/src/daedalus/NpcInstance.cc @@ -5,322 +5,418 @@ int32_t ZkNpcInstance_getId(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->id; } void ZkNpcInstance_setId(ZkNpcInstance* slf, int32_t id) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->id = id; } ZkString ZkNpcInstance_getSlot(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->slot.c_str(); } void ZkNpcInstance_setSlot(ZkNpcInstance* slf, ZkString slot) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->slot = slot; } ZkString ZkNpcInstance_getEffect(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->effect.c_str(); } void ZkNpcInstance_setEffect(ZkNpcInstance* slf, ZkString effect) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->effect = effect; } ZkNpcInstanceType ZkNpcInstance_getType(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->type); } void ZkNpcInstance_setType(ZkNpcInstance* slf, ZkNpcInstanceType type) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->type = static_cast(type); } uint32_t ZkNpcInstance_getFlags(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return static_cast(SLF->flags); } void ZkNpcInstance_setFlags(ZkNpcInstance* slf, uint32_t flags) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->flags = static_cast(flags); } int32_t ZkNpcInstance_getDamageType(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->damage_type; } void ZkNpcInstance_setDamageType(ZkNpcInstance* slf, int32_t damageType) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->damage_type = damageType; } int32_t ZkNpcInstance_getGuild(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->guild; } void ZkNpcInstance_setGuild(ZkNpcInstance* slf, int32_t guild) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->guild = guild; } int32_t ZkNpcInstance_getLevel(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->level; } void ZkNpcInstance_setLevel(ZkNpcInstance* slf, int32_t level) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->level = level; } int32_t ZkNpcInstance_getFightTactic(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->fight_tactic; } void ZkNpcInstance_setFightTactic(ZkNpcInstance* slf, int32_t fightTactic) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->fight_tactic = fightTactic; } int32_t ZkNpcInstance_getWeapon(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->weapon; } void ZkNpcInstance_setWeapon(ZkNpcInstance* slf, int32_t weapon) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->weapon = weapon; } int32_t ZkNpcInstance_getVoice(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->voice; } void ZkNpcInstance_setVoice(ZkNpcInstance* slf, int32_t voice) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->voice = voice; } int32_t ZkNpcInstance_getVoicePitch(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->voice_pitch; } void ZkNpcInstance_setVoicePitch(ZkNpcInstance* slf, int32_t voicePitch) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->voice_pitch = voicePitch; } int32_t ZkNpcInstance_getBodyMass(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->body_mass; } void ZkNpcInstance_setBodyMass(ZkNpcInstance* slf, int32_t bodyMass) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->body_mass = bodyMass; } int32_t ZkNpcInstance_getDailyRoutine(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->daily_routine; } void ZkNpcInstance_setDailyRoutine(ZkNpcInstance* slf, int32_t dailyRoutine) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->daily_routine = dailyRoutine; } int32_t ZkNpcInstance_getStartAiState(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->start_aistate; } void ZkNpcInstance_setStartAiState(ZkNpcInstance* slf, int32_t startAiState) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->start_aistate = startAiState; } ZkString ZkNpcInstance_getSpawnPoint(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->spawnpoint.data(); } void ZkNpcInstance_setSpawnPoint(ZkNpcInstance* slf, ZkString spawnPoint) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->spawnpoint = spawnPoint; } int32_t ZkNpcInstance_getSpawnDelay(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->spawn_delay; } void ZkNpcInstance_setSpawnDelay(ZkNpcInstance* slf, int32_t spawnDelay) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->spawn_delay = spawnDelay; } int32_t ZkNpcInstance_getSenses(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->senses; } void ZkNpcInstance_setSenses(ZkNpcInstance* slf, int32_t senses) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->senses = senses; } int32_t ZkNpcInstance_getSensesRange(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->senses_range; } void ZkNpcInstance_setSensesRange(ZkNpcInstance* slf, int32_t sensesRange) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->senses_range = sensesRange; } ZkString ZkNpcInstance_getWp(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->wp.c_str(); } void ZkNpcInstance_setWp(ZkNpcInstance* slf, ZkString wp) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->wp = wp; } int32_t ZkNpcInstance_getExp(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->exp; } void ZkNpcInstance_setExp(ZkNpcInstance* slf, int32_t exp) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->exp = exp; } int32_t ZkNpcInstance_getExpNext(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->exp_next; } void ZkNpcInstance_setExpNext(ZkNpcInstance* slf, int32_t expNext) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->exp_next = expNext; } int32_t ZkNpcInstance_getLp(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->lp; } void ZkNpcInstance_setLp(ZkNpcInstance* slf, int32_t lp) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->lp = lp; } int32_t ZkNpcInstance_getBodyStateInterruptableOverride(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->bodystate_interruptable_override; } void ZkNpcInstance_setBodyStateInterruptableOverride(ZkNpcInstance* slf, int32_t bodyStateInterruptableOverride) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->bodystate_interruptable_override = bodyStateInterruptableOverride; } int32_t ZkNpcInstance_getNoFocus(ZkNpcInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_focus; } void ZkNpcInstance_setNoFocus(ZkNpcInstance* slf, int32_t noFocus) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->no_focus = noFocus; } ZkString ZkNpcInstance_getName(ZkNpcInstance const* slf, ZkNpcInstanceNameSlot slot) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->name[slot].c_str(); } void ZkNpcInstance_setName(ZkNpcInstance* slf, ZkNpcInstanceNameSlot slot, ZkString name) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->name[static_cast(slot)] = name; } int32_t ZkNpcInstance_getMission(ZkNpcInstance const* slf, ZkNpcInstanceMissionSlot slot) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mission[slot]; } void ZkNpcInstance_setMission(ZkNpcInstance* slf, ZkNpcInstanceMissionSlot slot, int32_t mission) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->mission[static_cast(slot)] = mission; } int32_t ZkNpcInstance_getAttribute(ZkNpcInstance const* slf, ZkNpcInstanceAttribute attribute) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->attribute[attribute]; } void ZkNpcInstance_setAttribute(ZkNpcInstance* slf, ZkNpcInstanceAttribute attribute, int32_t value) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->attribute[static_cast(attribute)] = value; } int32_t ZkNpcInstance_getHitChance(ZkNpcInstance const* slf, ZkNpcInstanceTalent talent) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hitchance[talent]; } void ZkNpcInstance_setHitChance(ZkNpcInstance* slf, ZkNpcInstanceTalent talent, int32_t hitChance) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->hitchance[static_cast(talent)] = hitChance; } int32_t ZkNpcInstance_getProtection(ZkNpcInstance const* slf, ZkDamageType type) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->protection[type]; } void ZkNpcInstance_setProtection(ZkNpcInstance* slf, ZkDamageType type, int32_t protection) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->protection[static_cast(type)] = protection; } int32_t ZkNpcInstance_getDamage(ZkNpcInstance const* slf, ZkDamageType type) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->damage[type]; } void ZkNpcInstance_setDamage(ZkNpcInstance* slf, ZkDamageType type, int32_t damage) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->damage[static_cast(type)] = damage; } int32_t ZkNpcInstance_getAiVar(ZkNpcInstance const* slf, ZkSize i) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); ZKC_CHECK_LENA(100, i); return SLF->aivar[i]; } void ZkNpcInstance_setAiVar(ZkNpcInstance* slf, ZkSize i, int32_t aiVar) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; ZKC_CHECK_LENAV(100, i); SLF->aivar[i] = aiVar; } diff --git a/src/daedalus/ParticleEffectEmitKeyInstance.cc b/src/daedalus/ParticleEffectEmitKeyInstance.cc index fd5219b..fae8497 100644 --- a/src/daedalus/ParticleEffectEmitKeyInstance.cc +++ b/src/daedalus/ParticleEffectEmitKeyInstance.cc @@ -3,330 +3,426 @@ ZkString ZkParticleEffectEmitKeyInstance_getVisNameS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_name_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setVisNameS(ZkParticleEffectEmitKeyInstance* slf, ZkString visNameS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_name_s = visNameS; } float ZkParticleEffectEmitKeyInstance_getVisSizeScale(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_size_scale; } void ZkParticleEffectEmitKeyInstance_setVisSizeScale(ZkParticleEffectEmitKeyInstance* slf, float visSizeScale) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_size_scale = visSizeScale; } float ZkParticleEffectEmitKeyInstance_getScaleDuration(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->scale_duration; } void ZkParticleEffectEmitKeyInstance_setScaleDuration(ZkParticleEffectEmitKeyInstance* slf, float scaleDuration) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->scale_duration = scaleDuration; } float ZkParticleEffectEmitKeyInstance_getPfxPpsValue(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_pps_value; } void ZkParticleEffectEmitKeyInstance_setPfxPpsValue(ZkParticleEffectEmitKeyInstance* slf, float pfxPpsValue) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_pps_value = pfxPpsValue; } int32_t ZkParticleEffectEmitKeyInstance_getPfxPpsIsSmoothChg(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_pps_is_smooth_chg; } void ZkParticleEffectEmitKeyInstance_setPfxPpsIsSmoothChg(ZkParticleEffectEmitKeyInstance* slf, int32_t pfxPpsIsSmoothChg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_pps_is_smooth_chg = pfxPpsIsSmoothChg; } int32_t ZkParticleEffectEmitKeyInstance_getPfxPpsIsLoopingChg(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_pps_is_looping_chg; } void ZkParticleEffectEmitKeyInstance_setPfxPpsIsLoopingChg(ZkParticleEffectEmitKeyInstance* slf, int32_t pfxPpsIsLoopingChg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_pps_is_looping_chg = pfxPpsIsLoopingChg; } float ZkParticleEffectEmitKeyInstance_getPfxScTime(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_sc_time; } void ZkParticleEffectEmitKeyInstance_setPfxScTime(ZkParticleEffectEmitKeyInstance* slf, float pfxScTime) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_sc_time = pfxScTime; } ZkString ZkParticleEffectEmitKeyInstance_getPfxFlyGravityS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_fly_gravity_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxFlyGravityS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxFlyGravityS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_fly_gravity_s = pfxFlyGravityS; } ZkString ZkParticleEffectEmitKeyInstance_getPfxShpDimS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_shp_dim_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxShpDimS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxShpDimS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_shp_dim_s = pfxShpDimS; } int32_t ZkParticleEffectEmitKeyInstance_getPfxShpIsVolumeChg(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_shp_is_volume_chg; } void ZkParticleEffectEmitKeyInstance_setPfxShpIsVolumeChg(ZkParticleEffectEmitKeyInstance* slf, int32_t pfxShpIsVolumeChg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_shp_is_volume_chg = pfxShpIsVolumeChg; } float ZkParticleEffectEmitKeyInstance_getPfxShpScaleFps(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_shp_scale_fps; } void ZkParticleEffectEmitKeyInstance_setPfxShpScaleFps(ZkParticleEffectEmitKeyInstance* slf, float pfxShpScaleFps) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_shp_scale_fps = pfxShpScaleFps; } float ZkParticleEffectEmitKeyInstance_getPfxShpDistribWalksPeed(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_shp_distrib_walks_peed; } void ZkParticleEffectEmitKeyInstance_setPfxShpDistribWalksPeed(ZkParticleEffectEmitKeyInstance* slf, float pfxShpDistribWalksPeed) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_shp_distrib_walks_peed = pfxShpDistribWalksPeed; } ZkString ZkParticleEffectEmitKeyInstance_getPfxShpOffsetVecS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_shp_offset_vec_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxShpOffsetVecS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxShpOffsetVecS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_shp_offset_vec_s = pfxShpOffsetVecS; } ZkString ZkParticleEffectEmitKeyInstance_getPfxShpDistribTypeS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_shp_distrib_type_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxShpDistribTypeS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxShpDistribTypeS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_shp_distrib_type_s = pfxShpDistribTypeS; } ZkString ZkParticleEffectEmitKeyInstance_getPfxDirModeS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_dir_mode_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxDirModeS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxDirModeS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_dir_mode_s = pfxDirModeS; } ZkString ZkParticleEffectEmitKeyInstance_getPfxDirForS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_dir_for_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxDirForS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxDirForS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_dir_for_s = pfxDirForS; } ZkString ZkParticleEffectEmitKeyInstance_getPfxDirModeTargetForS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_dir_mode_target_for_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxDirModeTargetForS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxDirModeTargetForS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_dir_mode_target_for_s = pfxDirModeTargetForS; } ZkString ZkParticleEffectEmitKeyInstance_getPfxDirModeTargetPosS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_dir_mode_target_pos_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setPfxDirModeTargetPosS(ZkParticleEffectEmitKeyInstance* slf, ZkString pfxDirModeTargetPosS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_dir_mode_target_pos_s = pfxDirModeTargetPosS; } float ZkParticleEffectEmitKeyInstance_getPfxVelAvg(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_vel_avg; } void ZkParticleEffectEmitKeyInstance_setPfxVelAvg(ZkParticleEffectEmitKeyInstance* slf, float pfxVelAvg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_vel_avg = pfxVelAvg; } float ZkParticleEffectEmitKeyInstance_getPfxLspPartAvg(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_lsp_part_avg; } void ZkParticleEffectEmitKeyInstance_setPfxLspPartAvg(ZkParticleEffectEmitKeyInstance* slf, float pfxLspPartAvg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_lsp_part_avg = pfxLspPartAvg; } float ZkParticleEffectEmitKeyInstance_getPfxVisAlphaStart(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_vis_alpha_start; } void ZkParticleEffectEmitKeyInstance_setPfxVisAlphaStart(ZkParticleEffectEmitKeyInstance* slf, float pfxVisAlphaStart) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_vis_alpha_start = pfxVisAlphaStart; } ZkString ZkParticleEffectEmitKeyInstance_getLightPresetName(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->light_preset_name.c_str(); } void ZkParticleEffectEmitKeyInstance_setLightPresetName(ZkParticleEffectEmitKeyInstance* slf, ZkString lightPresetName) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->light_preset_name = lightPresetName; } float ZkParticleEffectEmitKeyInstance_getLightRange(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->light_range; } void ZkParticleEffectEmitKeyInstance_setLightRange(ZkParticleEffectEmitKeyInstance* slf, float lightRange) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->light_range = lightRange; } ZkString ZkParticleEffectEmitKeyInstance_getSfxId(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sfx_id.c_str(); } void ZkParticleEffectEmitKeyInstance_setSfxId(ZkParticleEffectEmitKeyInstance* slf, ZkString sfxId) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->sfx_id = sfxId; } int32_t ZkParticleEffectEmitKeyInstance_getSfxIsAmbient(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sfx_is_ambient; } void ZkParticleEffectEmitKeyInstance_setSfxIsAmbient(ZkParticleEffectEmitKeyInstance* slf, int32_t sfxIsAmbient) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->sfx_is_ambient = sfxIsAmbient; } ZkString ZkParticleEffectEmitKeyInstance_getEmCreateFxId(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_create_fx_id.c_str(); } void ZkParticleEffectEmitKeyInstance_setEmCreateFxId(ZkParticleEffectEmitKeyInstance* slf, ZkString emCreateFxId) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_create_fx_id = emCreateFxId; } float ZkParticleEffectEmitKeyInstance_getEmFlyGravity(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_fly_gravity; } void ZkParticleEffectEmitKeyInstance_setEmFlyGravity(ZkParticleEffectEmitKeyInstance* slf, float emFlyGravity) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_fly_gravity = emFlyGravity; } ZkString ZkParticleEffectEmitKeyInstance_getEmSelfRotVelS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_self_rot_vel_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setEmSelfRotVelS(ZkParticleEffectEmitKeyInstance* slf, ZkString emSelfRotVelS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_self_rot_vel_s = emSelfRotVelS; } ZkString ZkParticleEffectEmitKeyInstance_getEmTrjModeS(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_mode_s.c_str(); } void ZkParticleEffectEmitKeyInstance_setEmTrjModeS(ZkParticleEffectEmitKeyInstance* slf, ZkString emTrjModeS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_trj_mode_s = emTrjModeS; } float ZkParticleEffectEmitKeyInstance_getEmTrjEaseVel(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_trj_ease_vel; } void ZkParticleEffectEmitKeyInstance_setEmTrjEaseVel(ZkParticleEffectEmitKeyInstance* slf, float emTrjEaseVel) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_trj_ease_vel = emTrjEaseVel; } int32_t ZkParticleEffectEmitKeyInstance_getEmCheckCollision(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_check_collision; } void ZkParticleEffectEmitKeyInstance_setEmCheckCollision(ZkParticleEffectEmitKeyInstance* slf, int32_t emCheckCollision) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_check_collision = emCheckCollision; } float ZkParticleEffectEmitKeyInstance_getEmFxLifespan(ZkParticleEffectEmitKeyInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->em_fx_lifespan; } void ZkParticleEffectEmitKeyInstance_setEmFxLifespan(ZkParticleEffectEmitKeyInstance* slf, float emFxLifespan) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->em_fx_lifespan = emFxLifespan; } diff --git a/src/daedalus/ParticleEffectInstance.cc b/src/daedalus/ParticleEffectInstance.cc index f2c8b82..dbfcae9 100644 --- a/src/daedalus/ParticleEffectInstance.cc +++ b/src/daedalus/ParticleEffectInstance.cc @@ -3,570 +3,741 @@ float ZkParticleEffectInstance_getPpsValue(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_value; } void ZkParticleEffectInstance_setPpsValue(ZkParticleEffectInstance* slf, float ppsValue) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_value = ppsValue; } ZkString ZkParticleEffectInstance_getPpsScaleKeysS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_scale_keys_s.c_str(); } void ZkParticleEffectInstance_setPpsScaleKeysS(ZkParticleEffectInstance* slf, ZkString ppsScaleKeysS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_scale_keys_s = ppsScaleKeysS; } int32_t ZkParticleEffectInstance_getPpsIsLooping(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_is_looping; } void ZkParticleEffectInstance_setPpsIsLooping(ZkParticleEffectInstance* slf, int32_t ppsIsLooping) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_is_looping = ppsIsLooping; } int32_t ZkParticleEffectInstance_getPpsIsSmooth(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_is_smooth; } void ZkParticleEffectInstance_setPpsIsSmooth(ZkParticleEffectInstance* slf, int32_t ppsIsSmooth) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_is_smooth = ppsIsSmooth; } float ZkParticleEffectInstance_getPpsFps(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_fps; } void ZkParticleEffectInstance_setPpsFps(ZkParticleEffectInstance* slf, float ppsFps) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_fps = ppsFps; } ZkString ZkParticleEffectInstance_getPpsCreateEmS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_create_em_s.c_str(); } void ZkParticleEffectInstance_setPpsCreateEmS(ZkParticleEffectInstance* slf, ZkString ppsCreateEmS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_create_em_s = ppsCreateEmS; } float ZkParticleEffectInstance_getPpsCreateEmDelay(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pps_create_em_delay; } void ZkParticleEffectInstance_setPpsCreateEmDelay(ZkParticleEffectInstance* slf, float ppsCreateEmDelay) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pps_create_em_delay = ppsCreateEmDelay; } ZkString ZkParticleEffectInstance_getShpTypeS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_type_s.c_str(); } void ZkParticleEffectInstance_setShpTypeS(ZkParticleEffectInstance* slf, ZkString shpTypeS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_type_s = shpTypeS; } ZkString ZkParticleEffectInstance_getShpForS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_for_s.c_str(); } void ZkParticleEffectInstance_setShpForS(ZkParticleEffectInstance* slf, ZkString shpForS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_for_s = shpForS; } ZkString ZkParticleEffectInstance_getShpOffsetVecS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_offset_vec_s.c_str(); } void ZkParticleEffectInstance_setShpOffsetVecS(ZkParticleEffectInstance* slf, ZkString shpOffsetVecS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_offset_vec_s = shpOffsetVecS; } ZkString ZkParticleEffectInstance_getShpDistribTypeS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_distrib_type_s.c_str(); } void ZkParticleEffectInstance_setShpDistribTypeS(ZkParticleEffectInstance* slf, ZkString shpDistribTypeS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_distrib_type_s = shpDistribTypeS; } float ZkParticleEffectInstance_getShpDistribWalkSpeed(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_distrib_walk_speed; } void ZkParticleEffectInstance_setShpDistribWalkSpeed(ZkParticleEffectInstance* slf, float shpDistribWalkSpeed) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_distrib_walk_speed = shpDistribWalkSpeed; } int32_t ZkParticleEffectInstance_getShpIsVolume(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_is_volume; } void ZkParticleEffectInstance_setShpIsVolume(ZkParticleEffectInstance* slf, int32_t shpIsVolume) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_is_volume = shpIsVolume; } ZkString ZkParticleEffectInstance_getShpDimS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_dim_s.c_str(); } void ZkParticleEffectInstance_setShpDimS(ZkParticleEffectInstance* slf, ZkString shpDimS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_dim_s = shpDimS; } ZkString ZkParticleEffectInstance_getShpMeshS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_mesh_s.c_str(); } void ZkParticleEffectInstance_setShpMeshS(ZkParticleEffectInstance* slf, ZkString shpMeshS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_mesh_s = shpMeshS; } int32_t ZkParticleEffectInstance_getShpMeshRenderB(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_mesh_render_b; } void ZkParticleEffectInstance_setShpMeshRenderB(ZkParticleEffectInstance* slf, int32_t shpMeshRenderB) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_mesh_render_b = shpMeshRenderB; } ZkString ZkParticleEffectInstance_getShpScaleKeysS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_scale_keys_s.c_str(); } void ZkParticleEffectInstance_setShpScaleKeysS(ZkParticleEffectInstance* slf, ZkString shpScaleKeysS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_scale_keys_s = shpScaleKeysS; } int32_t ZkParticleEffectInstance_getShpScaleIsLooping(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_scale_is_looping; } void ZkParticleEffectInstance_setShpScaleIsLooping(ZkParticleEffectInstance* slf, int32_t shpScaleIsLooping) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_scale_is_looping = shpScaleIsLooping; } int32_t ZkParticleEffectInstance_getShpScaleIsSmooth(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_scale_is_smooth; } void ZkParticleEffectInstance_setShpScaleIsSmooth(ZkParticleEffectInstance* slf, int32_t shpScaleIsSmooth) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_scale_is_smooth = shpScaleIsSmooth; } float ZkParticleEffectInstance_getShpScaleFps(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shp_scale_fps; } void ZkParticleEffectInstance_setShpScaleFps(ZkParticleEffectInstance* slf, float shpScaleFps) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->shp_scale_fps = shpScaleFps; } ZkString ZkParticleEffectInstance_getDirModeS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_mode_s.c_str(); } void ZkParticleEffectInstance_setDirModeS(ZkParticleEffectInstance* slf, ZkString dirModeS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_mode_s = dirModeS; } ZkString ZkParticleEffectInstance_getDirForS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_for_s.c_str(); } void ZkParticleEffectInstance_setDirForS(ZkParticleEffectInstance* slf, ZkString dirForS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_for_s = dirForS; } ZkString ZkParticleEffectInstance_getDirModeTargetForS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_mode_target_for_s.c_str(); } void ZkParticleEffectInstance_setDirModeTargetForS(ZkParticleEffectInstance* slf, ZkString dirModeTargetForS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_mode_target_for_s = dirModeTargetForS; } ZkString ZkParticleEffectInstance_getDirModeTargetPosS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_mode_target_pos_s.c_str(); } void ZkParticleEffectInstance_setDirModeTargetPosS(ZkParticleEffectInstance* slf, ZkString dirModeTargetPosS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_mode_target_pos_s = dirModeTargetPosS; } float ZkParticleEffectInstance_getDirAngleHead(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_angle_head; } void ZkParticleEffectInstance_setDirAngleHead(ZkParticleEffectInstance* slf, float dirAngleHead) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_angle_head = dirAngleHead; } float ZkParticleEffectInstance_getDirAngleHeadVar(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_angle_head_var; } void ZkParticleEffectInstance_setDirAngleHeadVar(ZkParticleEffectInstance* slf, float dirAngleHeadVar) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_angle_head_var = dirAngleHeadVar; } float ZkParticleEffectInstance_getDirAngleElev(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_angle_elev; } void ZkParticleEffectInstance_setDirAngleElev(ZkParticleEffectInstance* slf, float dirAngleElev) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_angle_elev = dirAngleElev; } float ZkParticleEffectInstance_getDirAngleElevVar(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dir_angle_elev_var; } void ZkParticleEffectInstance_setDirAngleElevVar(ZkParticleEffectInstance* slf, float dirAngleElevVar) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->dir_angle_elev_var = dirAngleElevVar; } float ZkParticleEffectInstance_getVelAvg(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vel_avg; } void ZkParticleEffectInstance_setVelAvg(ZkParticleEffectInstance* slf, float velAvg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vel_avg = velAvg; } float ZkParticleEffectInstance_getVelVar(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vel_var; } void ZkParticleEffectInstance_setVelVar(ZkParticleEffectInstance* slf, float velVar) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vel_var = velVar; } float ZkParticleEffectInstance_getLspPartAvg(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->lsp_part_avg; } void ZkParticleEffectInstance_setLspPartAvg(ZkParticleEffectInstance* slf, float lspPartAvg) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->lsp_part_avg = lspPartAvg; } float ZkParticleEffectInstance_getLspPartVar(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->lsp_part_var; } void ZkParticleEffectInstance_setLspPartVar(ZkParticleEffectInstance* slf, float lspPartVar) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->lsp_part_var = lspPartVar; } ZkString ZkParticleEffectInstance_getFlyGravityS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->fly_gravity_s.c_str(); } void ZkParticleEffectInstance_setFlyGravityS(ZkParticleEffectInstance* slf, ZkString flyGravityS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->fly_gravity_s = flyGravityS; } int32_t ZkParticleEffectInstance_getFlyColldetB(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->fly_colldet_b; } void ZkParticleEffectInstance_setFlyColldetB(ZkParticleEffectInstance* slf, int32_t flyColldetB) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->fly_colldet_b = flyColldetB; } ZkString ZkParticleEffectInstance_getVisNameS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_name_s.c_str(); } void ZkParticleEffectInstance_setVisNameS(ZkParticleEffectInstance* slf, ZkString visNameS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_name_s = visNameS; } ZkString ZkParticleEffectInstance_getVisOrientationS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_orientation_s.c_str(); } void ZkParticleEffectInstance_setVisOrientationS(ZkParticleEffectInstance* slf, ZkString visOrientationS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_orientation_s = visOrientationS; } int32_t ZkParticleEffectInstance_getVisTexIsQuadpoly(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_is_quadpoly; } void ZkParticleEffectInstance_setVisTexIsQuadpoly(ZkParticleEffectInstance* slf, int32_t visTexIsQuadpoly) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_tex_is_quadpoly = visTexIsQuadpoly; } float ZkParticleEffectInstance_getVisTexAniFps(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_ani_fps; } void ZkParticleEffectInstance_setVisTexAniFps(ZkParticleEffectInstance* slf, float visTexAniFps) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_tex_ani_fps = visTexAniFps; } int32_t ZkParticleEffectInstance_getVisTexAniIsLooping(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_ani_is_looping; } void ZkParticleEffectInstance_setVisTexAniIsLooping(ZkParticleEffectInstance* slf, int32_t visTexAniIsLooping) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_tex_ani_is_looping = visTexAniIsLooping; } ZkString ZkParticleEffectInstance_getVisTexColorStartS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_color_start_s.c_str(); } void ZkParticleEffectInstance_setVisTexColorStartS(ZkParticleEffectInstance* slf, ZkString visTexColorStartS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_tex_color_start_s = visTexColorStartS; } ZkString ZkParticleEffectInstance_getVisTexColorEndS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_tex_color_end_s.c_str(); } void ZkParticleEffectInstance_setVisTexColorEndS(ZkParticleEffectInstance* slf, ZkString visTexColorEndS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_tex_color_end_s = visTexColorEndS; } ZkString ZkParticleEffectInstance_getVisSizeStartS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_size_start_s.c_str(); } void ZkParticleEffectInstance_setVisSizeStartS(ZkParticleEffectInstance* slf, ZkString visSizeStartS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_size_start_s = visSizeStartS; } float ZkParticleEffectInstance_getVisSizeEndScale(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_size_end_scale; } void ZkParticleEffectInstance_setVisSizeEndScale(ZkParticleEffectInstance* slf, float visSizeEndScale) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_size_end_scale = visSizeEndScale; } ZkString ZkParticleEffectInstance_getVisAlphaFuncS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_alpha_func_s.c_str(); } void ZkParticleEffectInstance_setVisAlphaFuncS(ZkParticleEffectInstance* slf, ZkString visAlphaFuncS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_alpha_func_s = visAlphaFuncS; } float ZkParticleEffectInstance_getVisAlphaStart(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_alpha_start; } void ZkParticleEffectInstance_setVisAlphaStart(ZkParticleEffectInstance* slf, float visAlphaStart) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_alpha_start = visAlphaStart; } float ZkParticleEffectInstance_getVisAlphaEnd(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vis_alpha_end; } void ZkParticleEffectInstance_setVisAlphaEnd(ZkParticleEffectInstance* slf, float visAlphaEnd) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vis_alpha_end = visAlphaEnd; } float ZkParticleEffectInstance_getTrlFadeSpeed(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->trl_fade_speed; } void ZkParticleEffectInstance_setTrlFadeSpeed(ZkParticleEffectInstance* slf, float trlFadeSpeed) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->trl_fade_speed = trlFadeSpeed; } ZkString ZkParticleEffectInstance_getTrlTextureS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->trl_texture_s.c_str(); } void ZkParticleEffectInstance_setTrlTextureS(ZkParticleEffectInstance* slf, ZkString trlTextureS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->trl_texture_s = trlTextureS; } float ZkParticleEffectInstance_getTrlWidth(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->trl_width; } void ZkParticleEffectInstance_setTrlWidth(ZkParticleEffectInstance* slf, float trlWidth) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->trl_width = trlWidth; } float ZkParticleEffectInstance_getMrkFadesPeed(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mrk_fades_peed; } void ZkParticleEffectInstance_setMrkFadesPeed(ZkParticleEffectInstance* slf, float mrkFadesPeed) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->mrk_fades_peed = mrkFadesPeed; } ZkString ZkParticleEffectInstance_getMrktExtureS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mrkt_exture_s.c_str(); } void ZkParticleEffectInstance_setMrktExtureS(ZkParticleEffectInstance* slf, ZkString mrktExtureS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->mrkt_exture_s = mrktExtureS; } float ZkParticleEffectInstance_getMrkSize(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mrk_size; } void ZkParticleEffectInstance_setMrkSize(ZkParticleEffectInstance* slf, float mrkSize) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->mrk_size = mrkSize; } ZkString ZkParticleEffectInstance_getFlockMode(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->flock_mode.c_str(); } void ZkParticleEffectInstance_setFlockMode(ZkParticleEffectInstance* slf, ZkString flockMode) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->flock_mode = flockMode; } float ZkParticleEffectInstance_getFlockStrength(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->flock_strength; } void ZkParticleEffectInstance_setFlockStrength(ZkParticleEffectInstance* slf, float flockStrength) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->flock_strength = flockStrength; } int32_t ZkParticleEffectInstance_getUseEmittersFor(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->use_emitters_for; } void ZkParticleEffectInstance_setUseEmittersFor(ZkParticleEffectInstance* slf, int32_t useEmittersFor) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->use_emitters_for = useEmittersFor; } ZkString ZkParticleEffectInstance_getTimeStartEndS(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->time_start_end_s.c_str(); } void ZkParticleEffectInstance_setTimeStartEndS(ZkParticleEffectInstance* slf, ZkString timeStartEndS) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->time_start_end_s = timeStartEndS; } int32_t ZkParticleEffectInstance_getMBiasAmbientPfx(ZkParticleEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->m_bis_ambient_pfx; } void ZkParticleEffectInstance_setMBiasAmbientPfx(ZkParticleEffectInstance* slf, int32_t mBiasAmbientPfx) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->m_bis_ambient_pfx = mBiasAmbientPfx; } diff --git a/src/daedalus/SoundEffectInstance.cc b/src/daedalus/SoundEffectInstance.cc index d9950d2..f169e33 100644 --- a/src/daedalus/SoundEffectInstance.cc +++ b/src/daedalus/SoundEffectInstance.cc @@ -3,90 +3,117 @@ ZkString ZkSoundEffectInstance_getFile(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->file.c_str(); } void ZkSoundEffectInstance_setFile(ZkSoundEffectInstance* slf, ZkString file) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->file = file; } int32_t ZkSoundEffectInstance_getPitchOff(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pitch_off; } void ZkSoundEffectInstance_setPitchOff(ZkSoundEffectInstance* slf, int32_t pitchOff) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pitch_off = pitchOff; } int32_t ZkSoundEffectInstance_getPitchVar(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pitch_var; } void ZkSoundEffectInstance_setPitchVar(ZkSoundEffectInstance* slf, int32_t pitchVar) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pitch_var = pitchVar; } int32_t ZkSoundEffectInstance_getVolume(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->vol; } void ZkSoundEffectInstance_setVolume(ZkSoundEffectInstance* slf, int32_t volume) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->vol = volume; } int32_t ZkSoundEffectInstance_getLoop(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->loop; } void ZkSoundEffectInstance_setLoop(ZkSoundEffectInstance* slf, int32_t loop) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->loop = loop; } int32_t ZkSoundEffectInstance_getLoopStartOffset(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->loop_start_offset; } void ZkSoundEffectInstance_setLoopStartOffset(ZkSoundEffectInstance* slf, int32_t loopStartOffset) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->loop_start_offset = loopStartOffset; } int32_t ZkSoundEffectInstance_getLoopEndOffset(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->loop_end_offset; } void ZkSoundEffectInstance_setLoopEndOffset(ZkSoundEffectInstance* slf, int32_t loopEndOffset) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->loop_end_offset = loopEndOffset; } float ZkSoundEffectInstance_getReverbLevel(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->reverb_level; } void ZkSoundEffectInstance_setReverbLevel(ZkSoundEffectInstance* slf, float reverbLevel) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->reverb_level = reverbLevel; } ZkString ZkSoundEffectInstance_getPfxName(ZkSoundEffectInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pfx_name.c_str(); } void ZkSoundEffectInstance_setPfxName(ZkSoundEffectInstance* slf, ZkString pfxName) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->pfx_name = pfxName; } diff --git a/src/daedalus/SoundSystemInstance.cc b/src/daedalus/SoundSystemInstance.cc index bae1b8a..b09d14b 100644 --- a/src/daedalus/SoundSystemInstance.cc +++ b/src/daedalus/SoundSystemInstance.cc @@ -3,60 +3,78 @@ float ZkSoundSystemInstance_getVolume(ZkSoundSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->volume; } void ZkSoundSystemInstance_setVolume(ZkSoundSystemInstance* slf, float volume) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->volume = volume; } int32_t ZkSoundSystemInstance_getBitResolution(ZkSoundSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->bit_resolution; } void ZkSoundSystemInstance_setBitResolution(ZkSoundSystemInstance* slf, int32_t bitResolution) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->bit_resolution = bitResolution; } int32_t ZkSoundSystemInstance_getSampleRate(ZkSoundSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sample_rate; } void ZkSoundSystemInstance_setSampleRate(ZkSoundSystemInstance* slf, int32_t sampleRate) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->sample_rate = sampleRate; } int32_t ZkSoundSystemInstance_getUseStereo(ZkSoundSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->use_stereo; } void ZkSoundSystemInstance_setUseStereo(ZkSoundSystemInstance* slf, int32_t useStereo) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->use_stereo = useStereo; } int32_t ZkSoundSystemInstance_getNumSfxChannels(ZkSoundSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->num_sfx_channels; } void ZkSoundSystemInstance_setNumSfxChannels(ZkSoundSystemInstance* slf, int32_t numSfxChannels) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->num_sfx_channels = numSfxChannels; } ZkString ZkSoundSystemInstance_getUsed3DProviderName(ZkSoundSystemInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->used_3d_provider_name.c_str(); } void ZkSoundSystemInstance_setUsed3DProviderName(ZkSoundSystemInstance* slf, ZkString used3DProviderName) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->used_3d_provider_name = used3DProviderName; } diff --git a/src/daedalus/SpellInstance.cc b/src/daedalus/SpellInstance.cc index 08f2d50..565cffe 100644 --- a/src/daedalus/SpellInstance.cc +++ b/src/daedalus/SpellInstance.cc @@ -3,120 +3,156 @@ float ZkSpellInstance_getTimePerMana(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->time_per_mana; } void ZkSpellInstance_setTimePerMana(ZkSpellInstance* slf, float timePerMana) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->time_per_mana = timePerMana; } int32_t ZkSpellInstance_getDamagePerLevel(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->damage_per_level; } void ZkSpellInstance_setDamagePerLevel(ZkSpellInstance* slf, int32_t damagePerLevel) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->damage_per_level = damagePerLevel; } int32_t ZkSpellInstance_getDamageType(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->damage_type; } void ZkSpellInstance_setDamageType(ZkSpellInstance* slf, int32_t damageType) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->damage_type = damageType; } int32_t ZkSpellInstance_getSpellType(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->spell_type; } void ZkSpellInstance_setSpellType(ZkSpellInstance* slf, int32_t spellType) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->spell_type = spellType; } int32_t ZkSpellInstance_getCanTurnDuringInvest(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->can_turn_during_invest; } void ZkSpellInstance_setCanTurnDuringInvest(ZkSpellInstance* slf, int32_t canTurnDuringInvest) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->can_turn_during_invest = canTurnDuringInvest; } int32_t ZkSpellInstance_getCanChangeTargetDuringInvest(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->can_change_target_during_invest; } void ZkSpellInstance_setCanChangeTargetDuringInvest(ZkSpellInstance* slf, int32_t canChangeTargetDuringInvest) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->can_change_target_during_invest = canChangeTargetDuringInvest; } int32_t ZkSpellInstance_getIsMultiEffect(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->is_multi_effect; } void ZkSpellInstance_setIsMultiEffect(ZkSpellInstance* slf, int32_t isMultiEffect) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->is_multi_effect = isMultiEffect; } int32_t ZkSpellInstance_getTargetCollectAlgo(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->target_collect_algo; } void ZkSpellInstance_setTargetCollectAlgo(ZkSpellInstance* slf, int32_t targetCollectAlgo) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->target_collect_algo = targetCollectAlgo; } int32_t ZkSpellInstance_getTargetCollectType(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->target_collect_type; } void ZkSpellInstance_setTargetCollectType(ZkSpellInstance* slf, int32_t targetCollectType) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->target_collect_type = targetCollectType; } int32_t ZkSpellInstance_getTargetCollectRange(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->target_collect_range; } void ZkSpellInstance_setTargetCollectRange(ZkSpellInstance* slf, int32_t targetCollectRange) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->target_collect_range = targetCollectRange; } int32_t ZkSpellInstance_getTargetCollectAzi(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->target_collect_azi; } void ZkSpellInstance_setTargetCollectAzi(ZkSpellInstance* slf, int32_t targetCollectAzi) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->target_collect_azi = targetCollectAzi; } int32_t ZkSpellInstance_getTargetCollectElevation(ZkSpellInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->target_collect_elev; } void ZkSpellInstance_setTargetCollectElevation(ZkSpellInstance* slf, int32_t targetCollectElevation) { ZKC_CHECK_NULLV(slf); + ZKC_CHECK_NULLV(slf->get()); + ; SLF->target_collect_elev = targetCollectElevation; } diff --git a/src/daedalus/SvmInstance.cc b/src/daedalus/SvmInstance.cc index 33b0b18..2bb774a 100644 --- a/src/daedalus/SvmInstance.cc +++ b/src/daedalus/SvmInstance.cc @@ -4,1249 +4,1561 @@ ZkString ZkSvmInstance_getMilGreetings(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mil_greetings.c_str(); } ZkString ZkSvmInstance_getPalGreetings(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pal_greetings.c_str(); } ZkString ZkSvmInstance_getWeather(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->weather.c_str(); } ZkString ZkSvmInstance_getIGetYouStill(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->iget_you_still.c_str(); } ZkString ZkSvmInstance_getDieEnemy(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->die_enemy.c_str(); } ZkString ZkSvmInstance_getDieMonster(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->die_monster.c_str(); } ZkString ZkSvmInstance_getAddonDieMonster(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_die_monster.c_str(); } ZkString ZkSvmInstance_getAddonDieMonster2(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_die_monster_2.c_str(); } ZkString ZkSvmInstance_getDirtyThief(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dirty_thief.c_str(); } ZkString ZkSvmInstance_getHandsOff(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hands_off.c_str(); } ZkString ZkSvmInstance_getSheepKiller(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sheep_killer.c_str(); } ZkString ZkSvmInstance_getSheepKillerMonster(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sheep_killer_monster.c_str(); } ZkString ZkSvmInstance_getYouMurderer(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_murderer.c_str(); } ZkString ZkSvmInstance_getDieStupidBeast(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->die_stupid_beast.c_str(); } ZkString ZkSvmInstance_getYouDareHitMe(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_dare_hit_me.c_str(); } ZkString ZkSvmInstance_getYouAskedForIt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_asked_for_it.c_str(); } ZkString ZkSvmInstance_getThenIBeatYouOutOfHere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->then_ibeat_you_out_of_here.c_str(); } ZkString ZkSvmInstance_getWhatDidYouDoInThere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->what_did_you_do_in_there.c_str(); } ZkString ZkSvmInstance_getWillYouStopFighting(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->will_you_stop_fighting.c_str(); } ZkString ZkSvmInstance_getKillEnemy(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->kill_enemy.c_str(); } ZkString ZkSvmInstance_getEnemyKilled(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->enemy_killed.c_str(); } ZkString ZkSvmInstance_getMonsterKilled(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->monster_killed.c_str(); } ZkString ZkSvmInstance_getAddonMonsterKilled(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_monster_killed.c_str(); } ZkString ZkSvmInstance_getAddonMonsterKilled2(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_monster_killed_2.c_str(); } ZkString ZkSvmInstance_getThiefDown(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->thief_down.c_str(); } ZkString ZkSvmInstance_getRumfummlerDown(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->rumfummler_down.c_str(); } ZkString ZkSvmInstance_getSheepAttackerDown(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sheep_attacker_down.c_str(); } ZkString ZkSvmInstance_getKillMurderer(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->kill_murderer.c_str(); } ZkString ZkSvmInstance_getStupidBeastKilled(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->stupid_beast_killed.c_str(); } ZkString ZkSvmInstance_getNeverHitMeAgain(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->never_hit_me_again.c_str(); } ZkString ZkSvmInstance_getYouBetterShouldHaveListened(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_better_should_have_listened.c_str(); } ZkString ZkSvmInstance_getGetUpAndBegone(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->get_up_and_begone.c_str(); } ZkString ZkSvmInstance_getNeverEnterRoomAgain(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->never_enter_room_again.c_str(); } ZkString ZkSvmInstance_getThereIsNoFightingHere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->there_is_no_fighting_here.c_str(); } ZkString ZkSvmInstance_getSpareMe(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->spare_me.c_str(); } ZkString ZkSvmInstance_getRunAway(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->run_away.c_str(); } ZkString ZkSvmInstance_getAlarm(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->alarm.c_str(); } ZkString ZkSvmInstance_getGuards(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->guards.c_str(); } ZkString ZkSvmInstance_getHelp(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->help.c_str(); } ZkString ZkSvmInstance_getGoodMonsterKill(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->good_monster_kill.c_str(); } ZkString ZkSvmInstance_getGoodKill(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->good_kill.c_str(); } ZkString ZkSvmInstance_getNotNow(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->not_now.c_str(); } ZkString ZkSvmInstance_getRunCoward(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->run_coward.c_str(); } ZkString ZkSvmInstance_getGetOutOfHere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->get_out_of_here.c_str(); } ZkString ZkSvmInstance_getWhyAreYouInHere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->why_are_you_in_here.c_str(); } ZkString ZkSvmInstance_getYesGoOutOfHere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->yes_go_out_of_here.c_str(); } ZkString ZkSvmInstance_getWhatsThisSupposedToBe(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->whats_this_supposed_to_be.c_str(); } ZkString ZkSvmInstance_getYouDisturbedMySlumber(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_disturbed_my_slumber.c_str(); } ZkString ZkSvmInstance_getITookYourGold(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->itook_your_gold.c_str(); } ZkString ZkSvmInstance_getShitNoGold(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shit_no_gold.c_str(); } ZkString ZkSvmInstance_getITakeYourWeapon(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->itake_your_weapon.c_str(); } ZkString ZkSvmInstance_getWhatAreYouDoing(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->what_are_you_doing.c_str(); } ZkString ZkSvmInstance_getLookingForTroubleAgain(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->looking_for_trouble_again.c_str(); } ZkString ZkSvmInstance_getStopMagic(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->stop_magic.c_str(); } ZkString ZkSvmInstance_getISaidStopMagic(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->isaid_stop_magic.c_str(); } ZkString ZkSvmInstance_getWeaponDown(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->weapon_down.c_str(); } ZkString ZkSvmInstance_getISaidWeaponDown(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->isaid_weapon_down.c_str(); } ZkString ZkSvmInstance_getWiseMove(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->wise_move.c_str(); } ZkString ZkSvmInstance_getNextTimeYoureInForIt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->next_time_youre_in_for_it.c_str(); } ZkString ZkSvmInstance_getOhMyHead(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->oh_my_head.c_str(); } ZkString ZkSvmInstance_getTheresAFight(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->theres_afight.c_str(); } ZkString ZkSvmInstance_getOhMyGodItsAFight(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->oh_my_god_its_afight.c_str(); } ZkString ZkSvmInstance_getGoodVictory(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->good_victory.c_str(); } ZkString ZkSvmInstance_getNotBad(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->not_bad.c_str(); } ZkString ZkSvmInstance_getOhMyGodHesDown(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->oh_my_god_hes_down.c_str(); } ZkString ZkSvmInstance_getCheerFriend01(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cheer_friend_01.c_str(); } ZkString ZkSvmInstance_getCheerFriend02(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cheer_friend_02.c_str(); } ZkString ZkSvmInstance_getCheerFriend03(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cheer_friend_03.c_str(); } ZkString ZkSvmInstance_getOoh01(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->ooh_01.c_str(); } ZkString ZkSvmInstance_getOoh02(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->ooh_02.c_str(); } ZkString ZkSvmInstance_getOoh03(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->ooh_03.c_str(); } ZkString ZkSvmInstance_getWhatWasThat(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->what_was_that.c_str(); } ZkString ZkSvmInstance_getGetOutOfMyBed(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->get_out_of_my_bed.c_str(); } ZkString ZkSvmInstance_getAwake(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->awake.c_str(); } ZkString ZkSvmInstance_getAbsCommander(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->abs_commander.c_str(); } ZkString ZkSvmInstance_getAbsMonastery(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->abs_monastery.c_str(); } ZkString ZkSvmInstance_getAbsFarm(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->abs_farm.c_str(); } ZkString ZkSvmInstance_getAbsGood(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->abs_good.c_str(); } ZkString ZkSvmInstance_getSheepKillerCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sheep_killer_crime.c_str(); } ZkString ZkSvmInstance_getAttackCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->attack_crime.c_str(); } ZkString ZkSvmInstance_getTheftCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->theft_crime.c_str(); } ZkString ZkSvmInstance_getMurderCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->murder_crime.c_str(); } ZkString ZkSvmInstance_getPalCityCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pal_city_crime.c_str(); } ZkString ZkSvmInstance_getMilCityCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mil_city_crime.c_str(); } ZkString ZkSvmInstance_getCityCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->city_crime.c_str(); } ZkString ZkSvmInstance_getMonaCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mona_crime.c_str(); } ZkString ZkSvmInstance_getFarmCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->farm_crime.c_str(); } ZkString ZkSvmInstance_getOcCrime(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->oc_crime.c_str(); } ZkString ZkSvmInstance_getToughguyAttackLost(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->toughguy_attack_lost.c_str(); } ZkString ZkSvmInstance_getToughguyAttackWon(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->toughguy_attack_won.c_str(); } ZkString ZkSvmInstance_getToughguyPlayerAttack(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->toughguy_player_attack.c_str(); } ZkString ZkSvmInstance_getGold1000(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_1000.c_str(); } ZkString ZkSvmInstance_getGold950(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_950.c_str(); } ZkString ZkSvmInstance_getGold900(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_900.c_str(); } ZkString ZkSvmInstance_getGold850(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_850.c_str(); } ZkString ZkSvmInstance_getGold800(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_800.c_str(); } ZkString ZkSvmInstance_getGold750(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_750.c_str(); } ZkString ZkSvmInstance_getGold700(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_700.c_str(); } ZkString ZkSvmInstance_getGold650(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_650.c_str(); } ZkString ZkSvmInstance_getGold600(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_600.c_str(); } ZkString ZkSvmInstance_getGold550(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_550.c_str(); } ZkString ZkSvmInstance_getGold500(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_500.c_str(); } ZkString ZkSvmInstance_getGold450(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_450.c_str(); } ZkString ZkSvmInstance_getGold400(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_400.c_str(); } ZkString ZkSvmInstance_getGold350(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_350.c_str(); } ZkString ZkSvmInstance_getGold300(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_300.c_str(); } ZkString ZkSvmInstance_getGold250(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_250.c_str(); } ZkString ZkSvmInstance_getGold200(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_200.c_str(); } ZkString ZkSvmInstance_getGold150(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_150.c_str(); } ZkString ZkSvmInstance_getGold100(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_100.c_str(); } ZkString ZkSvmInstance_getGold90(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_90.c_str(); } ZkString ZkSvmInstance_getGold80(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_80.c_str(); } ZkString ZkSvmInstance_getGold70(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_70.c_str(); } ZkString ZkSvmInstance_getGold60(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_60.c_str(); } ZkString ZkSvmInstance_getGold50(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_50.c_str(); } ZkString ZkSvmInstance_getGold40(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_40.c_str(); } ZkString ZkSvmInstance_getGold30(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_30.c_str(); } ZkString ZkSvmInstance_getGold20(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_20.c_str(); } ZkString ZkSvmInstance_getGold10(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->gold_10.c_str(); } ZkString ZkSvmInstance_getSmalltalk01(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_01.c_str(); } ZkString ZkSvmInstance_getSmalltalk02(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_02.c_str(); } ZkString ZkSvmInstance_getSmalltalk03(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_03.c_str(); } ZkString ZkSvmInstance_getSmalltalk04(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_04.c_str(); } ZkString ZkSvmInstance_getSmalltalk05(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_05.c_str(); } ZkString ZkSvmInstance_getSmalltalk06(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_06.c_str(); } ZkString ZkSvmInstance_getSmalltalk07(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_07.c_str(); } ZkString ZkSvmInstance_getSmalltalk08(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_08.c_str(); } ZkString ZkSvmInstance_getSmalltalk09(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_09.c_str(); } ZkString ZkSvmInstance_getSmalltalk10(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_10.c_str(); } ZkString ZkSvmInstance_getSmalltalk11(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_11.c_str(); } ZkString ZkSvmInstance_getSmalltalk12(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_12.c_str(); } ZkString ZkSvmInstance_getSmalltalk13(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_13.c_str(); } ZkString ZkSvmInstance_getSmalltalk14(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_14.c_str(); } ZkString ZkSvmInstance_getSmalltalk15(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_15.c_str(); } ZkString ZkSvmInstance_getSmalltalk16(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_16.c_str(); } ZkString ZkSvmInstance_getSmalltalk17(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_17.c_str(); } ZkString ZkSvmInstance_getSmalltalk18(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_18.c_str(); } ZkString ZkSvmInstance_getSmalltalk19(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_19.c_str(); } ZkString ZkSvmInstance_getSmalltalk20(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_20.c_str(); } ZkString ZkSvmInstance_getSmalltalk21(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_21.c_str(); } ZkString ZkSvmInstance_getSmalltalk22(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_22.c_str(); } ZkString ZkSvmInstance_getSmalltalk23(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_23.c_str(); } ZkString ZkSvmInstance_getSmalltalk24(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_24.c_str(); } ZkString ZkSvmInstance_getSmalltalk25(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_25.c_str(); } ZkString ZkSvmInstance_getSmalltalk26(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_26.c_str(); } ZkString ZkSvmInstance_getSmalltalk27(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_27.c_str(); } ZkString ZkSvmInstance_getSmalltalk28(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_28.c_str(); } ZkString ZkSvmInstance_getSmalltalk29(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_29.c_str(); } ZkString ZkSvmInstance_getSmalltalk30(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->smalltalk_30.c_str(); } ZkString ZkSvmInstance_getNoLearnNoPoints(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_learn_no_points.c_str(); } ZkString ZkSvmInstance_getNoLearnOverPersonalMax(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_learn_over_personal_max.c_str(); } ZkString ZkSvmInstance_getNoLearnYoureBetter(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_learn_youre_better.c_str(); } ZkString ZkSvmInstance_getYouLearnedSomething(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_learned_something.c_str(); } ZkString ZkSvmInstance_getUnterstadt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->unterstadt.c_str(); } ZkString ZkSvmInstance_getOberstadt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->oberstadt.c_str(); } ZkString ZkSvmInstance_getTempel(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->tempel.c_str(); } ZkString ZkSvmInstance_getMarkt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->markt.c_str(); } ZkString ZkSvmInstance_getGalgen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->galgen.c_str(); } ZkString ZkSvmInstance_getKaserne(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->kaserne.c_str(); } ZkString ZkSvmInstance_getHafen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hafen.c_str(); } ZkString ZkSvmInstance_getWhereto(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->whereto.c_str(); } ZkString ZkSvmInstance_getOberstadt2Unterstadt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->oberstadt_2_unterstadt.c_str(); } ZkString ZkSvmInstance_getUnterstadt2Oberstadt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->unterstadt_2_oberstadt.c_str(); } ZkString ZkSvmInstance_getUnterstadt2Tempel(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->unterstadt_2_tempel.c_str(); } ZkString ZkSvmInstance_getUnterstadt2Hafen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->unterstadt_2_hafen.c_str(); } ZkString ZkSvmInstance_getTempel2Unterstadt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->tempel_2_unterstadt.c_str(); } ZkString ZkSvmInstance_getTempel2Markt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->tempel_2_markt.c_str(); } ZkString ZkSvmInstance_getTempel2Galgen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->tempel_2_galgen.c_str(); } ZkString ZkSvmInstance_getMarkt2Tempel(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->markt_2_tempel.c_str(); } ZkString ZkSvmInstance_getMarkt2Kaserne(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->markt_2_kaserne.c_str(); } ZkString ZkSvmInstance_getMarkt2Galgen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->markt_2_galgen.c_str(); } ZkString ZkSvmInstance_getGalgen2Tempel(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->galgen_2_tempel.c_str(); } ZkString ZkSvmInstance_getGalgen2Markt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->galgen_2_markt.c_str(); } ZkString ZkSvmInstance_getGalgen2Kaserne(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->galgen_2_kaserne.c_str(); } ZkString ZkSvmInstance_getKaserne2Markt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->kaserne_2_markt.c_str(); } ZkString ZkSvmInstance_getKaserne2Galgen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->kaserne_2_galgen.c_str(); } ZkString ZkSvmInstance_getHafen2Unterstadt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hafen_2_unterstadt.c_str(); } ZkString ZkSvmInstance_getDead(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dead.c_str(); } ZkString ZkSvmInstance_getAargh1(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->aargh_1.c_str(); } ZkString ZkSvmInstance_getAargh2(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->aargh_2.c_str(); } ZkString ZkSvmInstance_getAargh3(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->aargh_3.c_str(); } ZkString ZkSvmInstance_getAddonWrongArmor(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_wrong_armor.c_str(); } ZkString ZkSvmInstance_getAddonWrongArmorSld(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_wrong_armor_sld.c_str(); } ZkString ZkSvmInstance_getAddonWrongArmorMil(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_wrong_armor_mil.c_str(); } ZkString ZkSvmInstance_getAddonWrongArmorKdf(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_wrong_armor_kdf.c_str(); } ZkString ZkSvmInstance_getAddonNoArmorBdt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_no_armor_bdt.c_str(); } ZkString ZkSvmInstance_getAddonDieBandit(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_die_bandit.c_str(); } ZkString ZkSvmInstance_getAddonDirtyPirate(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_dirty_pirate.c_str(); } ZkString ZkSvmInstance_getScHeyTurnAround(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_hey_turn_around.c_str(); } ZkString ZkSvmInstance_getScHeyTurnAround02(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_hey_turn_around_02.c_str(); } ZkString ZkSvmInstance_getScHeyTurnAround03(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_hey_turn_around_03.c_str(); } ZkString ZkSvmInstance_getScHeyTurnAround04(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_hey_turn_around_04.c_str(); } ZkString ZkSvmInstance_getScHeyWaitASecond(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_hey_wait_asecond.c_str(); } ZkString ZkSvmInstance_getDoesntMork(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->doesnt_mork.c_str(); } ZkString ZkSvmInstance_getPickBroke(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pick_broke.c_str(); } ZkString ZkSvmInstance_getNeedKey(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->need_key.c_str(); } ZkString ZkSvmInstance_getNoMorePicks(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_more_picks.c_str(); } ZkString ZkSvmInstance_getNoPickLockTalent(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_pick_lock_talent.c_str(); } ZkString ZkSvmInstance_getNoSweeping(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_sweeping.c_str(); } ZkString ZkSvmInstance_getPickLockOrKeyMissing(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pick_lock_or_key_missing.c_str(); } ZkString ZkSvmInstance_getKeyMissing(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->key_missing.c_str(); } ZkString ZkSvmInstance_getPickLockMissing(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->pick_lock_missing.c_str(); } ZkString ZkSvmInstance_getNeverOpen(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->never_open.c_str(); } ZkString ZkSvmInstance_getMissingItem(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->missing_item.c_str(); } ZkString ZkSvmInstance_getDontKnow(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->dont_know.c_str(); } ZkString ZkSvmInstance_getNothingToGet(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->nothing_to_get.c_str(); } ZkString ZkSvmInstance_getNothingToGet02(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->nothing_to_get_02.c_str(); } ZkString ZkSvmInstance_getNothingToGet03(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->nothing_to_get_03.c_str(); } ZkString ZkSvmInstance_getHealShrine(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->heal_shrine.c_str(); } ZkString ZkSvmInstance_getHealLastShrine(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->heal_last_shrine.c_str(); } ZkString ZkSvmInstance_getIrdorathThereYouAre(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->irdorath_there_you_are.c_str(); } ZkString ZkSvmInstance_getScOpensIrdorathBook(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_opens_irdorath_book.c_str(); } ZkString ZkSvmInstance_getScOpensLastDoor(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sc_opens_last_door.c_str(); } ZkString ZkSvmInstance_getTrade1(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->trade_1.c_str(); } ZkString ZkSvmInstance_getTrade2(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->trade_2.c_str(); } ZkString ZkSvmInstance_getTrade3(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->trade_3.c_str(); } ZkString ZkSvmInstance_getVerstehe(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->verstehe.c_str(); } ZkString ZkSvmInstance_getFoundTreasure(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->found_treasure.c_str(); } ZkString ZkSvmInstance_getCantUnderstandThis(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cant_understand_this.c_str(); } ZkString ZkSvmInstance_getCantReadThis(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cant_read_this.c_str(); } ZkString ZkSvmInstance_getStoneplate1(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->stoneplate_1.c_str(); } ZkString ZkSvmInstance_getStoneplate2(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->stoneplate_2.c_str(); } ZkString ZkSvmInstance_getStoneplate3(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->stoneplate_3.c_str(); } ZkString ZkSvmInstance_getCough(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cough.c_str(); } ZkString ZkSvmInstance_getHui(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hui.c_str(); } ZkString ZkSvmInstance_getAddonThisLittleBastard(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_this_little_bastard.c_str(); } ZkString ZkSvmInstance_getAddonOpenAdanosTemple(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_open_adanos_temple.c_str(); } ZkString ZkSvmInstance_getAttentatAddonDescription(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->attentat_addon_description.c_str(); } ZkString ZkSvmInstance_getAttentatAddonDescription2(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->attentat_addon_description_2.c_str(); } ZkString ZkSvmInstance_getAttentatAddonPro(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->attentat_addon_pro.c_str(); } ZkString ZkSvmInstance_getAttentatAddonContra(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->attentat_addon_contra.c_str(); } ZkString ZkSvmInstance_getMineAddonDescription(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mine_addon_description.c_str(); } ZkString ZkSvmInstance_getAddonSummonAncientGhost(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_summon_ancient_ghost.c_str(); } ZkString ZkSvmInstance_getAddonAncientGhostNotNear(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_ancient_ghost_not_near.c_str(); } ZkString ZkSvmInstance_getAddonGoldDescription(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->addon_gold_description.c_str(); } ZkString ZkSvmInstance_getWatchYourAim(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->watch_your_aim.c_str(); } ZkString ZkSvmInstance_getWatchYourAimAngry(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->watch_your_aim_angry.c_str(); } ZkString ZkSvmInstance_getLetsForgetOurLittleFight(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->lets_forget_our_little_fight.c_str(); } ZkString ZkSvmInstance_getStrange(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->strange.c_str(); } ZkString ZkSvmInstance_getDieMortalEnemy(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->die_mortal_enemy.c_str(); } ZkString ZkSvmInstance_getNowWait(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->now_wait.c_str(); } ZkString ZkSvmInstance_getNowWaitIntruder(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->now_wait_intruder.c_str(); } ZkString ZkSvmInstance_getYouStillNotHaveEnough(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_still_not_have_enough.c_str(); } ZkString ZkSvmInstance_getYouAttackedMyCharge(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_attacked_my_charge.c_str(); } ZkString ZkSvmInstance_getIWillTeachYouRespectForForeignProperty(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->iwill_teach_you_respect_for_foreign_property.c_str(); } ZkString ZkSvmInstance_getYouKilledOneOfUs(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_one_of_us.c_str(); } ZkString ZkSvmInstance_getBerzerk(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->berzerk.c_str(); } ZkString ZkSvmInstance_getYoullBeSorryForThis(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->youll_be_sorry_for_this.c_str(); } ZkString ZkSvmInstance_getYesYes(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->yes_yes.c_str(); } ZkString ZkSvmInstance_getShitWhatAMonster(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shit_what_amonster.c_str(); } ZkString ZkSvmInstance_getWeWillMeetAgain(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->we_will_meet_again.c_str(); } ZkString ZkSvmInstance_getNeverTryThatAgain(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->never_try_that_again.c_str(); } ZkString ZkSvmInstance_getITookYourOre(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->itook_your_ore.c_str(); } ZkString ZkSvmInstance_getShitNoOre(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->shit_no_ore.c_str(); } ZkString ZkSvmInstance_getYouViolatedForbiddenTerritory(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_violated_forbidden_territory.c_str(); } ZkString ZkSvmInstance_getYouWannaFoolMe(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_wanna_fool_me.c_str(); } ZkString ZkSvmInstance_getWhatDidYouInThere(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->what_did_you_in_there.c_str(); } ZkString ZkSvmInstance_getIntruderAlert(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->intruder_alert.c_str(); } ZkString ZkSvmInstance_getBehindYou(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->behind_you.c_str(); } ZkString ZkSvmInstance_getHeyHeyHey(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hey_hey_hey.c_str(); } ZkString ZkSvmInstance_getCheerFight(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cheer_fight.c_str(); } ZkString ZkSvmInstance_getCheerFriend(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->cheer_friend.c_str(); } ZkString ZkSvmInstance_getOoh(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->ooh.c_str(); } ZkString ZkSvmInstance_getYeahWellDone(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->yeah_well_done.c_str(); } ZkString ZkSvmInstance_getHeDefeatedhim(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->he_defeatedhim.c_str(); } ZkString ZkSvmInstance_getHeDeservEdit(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->he_deserv_edit.c_str(); } ZkString ZkSvmInstance_getHeKilledHim(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->he_killed_him.c_str(); } ZkString ZkSvmInstance_getItWasAGoodFight(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->it_was_agood_fight.c_str(); } ZkString ZkSvmInstance_getFriendlyGreetings(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->friendly_greetings.c_str(); } ZkString ZkSvmInstance_getAlGreetings(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->al_greetings.c_str(); } ZkString ZkSvmInstance_getMageGreetings(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->mage_greetings.c_str(); } ZkString ZkSvmInstance_getSectGreetings(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sect_greetings.c_str(); } ZkString ZkSvmInstance_getThereHeIs(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->there_he_is.c_str(); } ZkString ZkSvmInstance_getNoLearnOverMax(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_learn_over_max.c_str(); } ZkString ZkSvmInstance_getNoLearnYouAlreadyKnow(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->no_learn_you_already_know.c_str(); } ZkString ZkSvmInstance_getHeyYou(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->hey_you.c_str(); } ZkString ZkSvmInstance_getWhatDoYouWant(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->what_do_you_want.c_str(); } ZkString ZkSvmInstance_getISaidWhatDoYouWant(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->isaid_what_do_you_want.c_str(); } ZkString ZkSvmInstance_getMakeWay(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->make_way.c_str(); } ZkString ZkSvmInstance_getOutOfMyWay(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->out_of_my_way.c_str(); } ZkString ZkSvmInstance_getYouDeafOrWhat(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_deaf_or_what.c_str(); } ZkString ZkSvmInstance_getLookAway(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->look_away.c_str(); } ZkString ZkSvmInstance_getOkayKeepIt(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->okay_keep_it.c_str(); } ZkString ZkSvmInstance_getWhatsThat(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->whats_that.c_str(); } ZkString ZkSvmInstance_getThatsMyWeapon(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->thats_my_weapon.c_str(); } ZkString ZkSvmInstance_getGiveItTome(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->give_it_tome.c_str(); } ZkString ZkSvmInstance_getYouCanKeepTheCrap(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_can_keep_the_crap.c_str(); } ZkString ZkSvmInstance_getTheyKilledMyFriend(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->they_killed_my_friend.c_str(); } ZkString ZkSvmInstance_getSuckerGotSome(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sucker_got_some.c_str(); } ZkString ZkSvmInstance_getSuckerDefeatedEbr(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sucker_defeated_ebr.c_str(); } ZkString ZkSvmInstance_getSuckerDefeatedGur(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sucker_defeated_gur.c_str(); } ZkString ZkSvmInstance_getSuckerDefeatedMage(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sucker_defeated_mage.c_str(); } ZkString ZkSvmInstance_getSuckerDefeatedNovGuard(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sucker_defeated_nov_guard.c_str(); } ZkString ZkSvmInstance_getSuckerDefeatedVlkGuard(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->sucker_defeated_vlk_guard.c_str(); } ZkString ZkSvmInstance_getYouDefeatedMyComrade(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_defeated_my_comrade.c_str(); } ZkString ZkSvmInstance_getYouDefeatedNovGuard(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_defeated_nov_guard.c_str(); } ZkString ZkSvmInstance_getYouDefeatedVlkGuard(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_defeated_vlk_guard.c_str(); } ZkString ZkSvmInstance_getYouStoleFromMe(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_stole_from_me.c_str(); } ZkString ZkSvmInstance_getYouStoleFromUs(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_stole_from_us.c_str(); } ZkString ZkSvmInstance_getYouStoleFromEbr(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_stole_from_ebr.c_str(); } ZkString ZkSvmInstance_getYouStoleFromGur(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_stole_from_gur.c_str(); } ZkString ZkSvmInstance_getStoleUromMage(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->stole_urom_mage.c_str(); } ZkString ZkSvmInstance_getYouKilledmyfriend(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killedmyfriend.c_str(); } ZkString ZkSvmInstance_getYouKilledEbr(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_ebr.c_str(); } ZkString ZkSvmInstance_getYouKilledGur(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_gur.c_str(); } ZkString ZkSvmInstance_getYouKilledMage(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_mage.c_str(); } ZkString ZkSvmInstance_getYouKilledOcFolk(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_oc_folk.c_str(); } ZkString ZkSvmInstance_getYouKilledNcFolk(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_nc_folk.c_str(); } ZkString ZkSvmInstance_getYouKilledPsiFolk(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_killed_psi_folk.c_str(); } ZkString ZkSvmInstance_getGetThingsRight(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->get_things_right.c_str(); } ZkString ZkSvmInstance_getYouDefeatedMeWell(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->you_defeated_me_well.c_str(); } ZkString ZkSvmInstance_getOm(ZkSvmInstance const* slf) { ZKC_CHECK_NULL(slf); + ZKC_CHECK_NULL(slf->get()); return SLF->om.c_str(); }