102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
DTTR_PCDOGS_T_Component_Instance Struct Reference

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Component_Instanceparent_comp
 Offset 0x0.
int32_t timer_packed
 Offset 0x4.
DTTR_PCDOGS_T_Component_Instancenext_in_chain
 Offset 0x8.
DTTR_PCDOGS_T_Component_Instanceprev_in_chain
 Offset 0xC.
DTTR_PCDOGS_T_Scene_Nodescene_node_ptr
 Offset 0x10.
DTTR_PCDOGS_T_Component_Definitiondefinition_ptr
 Offset 0x14.
DTTR_PCDOGS_T_Actor_Statetarget_actor
 Offset 0x18.
int32_t state_word
 Offset 0x1C.
int16_t flags
 Offset 0x20.
int16_t flags_hi
 Offset 0x22.
int32_t collision_flags
int32_t behavior_state
 Offset 0x28.
int32_t local_rot
 Offset 0x2C.
int16_t local_rot_02
 Offset 0x30.
int16_t local_rot_hi
 Offset 0x32.
int32_t local_rot_11
 Offset 0x34.
int32_t local_rot_20
 Offset 0x38.
int32_t local_rot_22
 Offset 0x3C.
DTTR_PCDOGS_T_Math_Vec2I32 local_pos_xy
 Offset 0x40.
uint8_t spawn_count_byte_0
 Offset 0x48.
uint8_t active_count
 Offset 0x49.
uint8_t spawn_count_byte_2
 Offset 0x4A.
uint8_t active_max
 Offset 0x4B.
int32_t spawn_interval
 Offset 0x4C.
int16_t spawn_delay
 Offset 0x50.
int16_t lifetime
 Offset 0x52.
DTTR_PCDOGS_T_Math_Vec3I32 spawn_offset
 Offset 0x54.
DTTR_PCDOGS_T_Scene_Nodelod_node_ptrs [3]
 Offset 0x60.
DTTR_PCDOGS_T_Scene_Nodeshadow_node_ptr
 Offset 0x6C.
voidsound_slot_table
 Offset 0x70.
DTTR_PCDOGS_T_Math_Vec3I32 local_scale
 Offset 0x74.
DTTR_PCDOGS_T_Math_Vec3I32 bone_offset
 Offset 0x80.
int32_t transform_flags
 Offset 0x8C.
int32_t render_distance_sq
 Offset 0x90.
int32_t visibility_mask
 Offset 0x94.
DTTR_PCDOGS_T_Math_Vec3I32 world_pos
 Offset 0x98.
DTTR_PCDOGS_T_Math_Vec3I32 prev_world_pos
 Offset 0xA4.
DTTR_PCDOGS_T_Math_Vec3I32 velocity
 Offset 0xB0.
int32_t acceleration
 Offset 0xBC.
int32_t ground_height
 Offset 0xC0.
int32_t projectile_state
 Offset 0xC4.
int32_t world_pos_ref
 Offset 0xC8.
int32_t projectile_timer
 Offset 0xCC.
DTTR_PCDOGS_T_Actor_State ** owner_actor_ref
DTTR_PCDOGS_T_Math_Vec3I32 homing_vel
 Offset 0xD4.
int16_t yaw_angle
 Offset 0xE0.
int16_t yaw_angle_prev
 Offset 0xE2.
int16_t pitch_angle
 Offset 0xE4.
int16_t pitch_angle_prev
 Offset 0xE6.
int32_t angular_vel_yaw
 Offset 0xE8.
int32_t angular_vel_pitch
 Offset 0xEC.
int32_t spin_rate
 Offset 0xF0.
DTTR_PCDOGS_T_Component_SpawnParamsspawn_context
 Offset 0xF4.
int32_t height_ref_comp
 Offset 0xF8.
DTTR_PCDOGS_T_Component_TrailObjecttrail_effect_ptr
 Offset 0xFC.
int32_t collision_group
 Offset 0x100.
int32_t damage_cooldown_timer
 Offset 0x104.
int32_t script_vars [71]
 Offset 0x108.

Detailed Description

Definition at line 4173 of file dttr_pcdogs.h.

Field Documentation

◆ acceleration

int32_t DTTR_PCDOGS_T_Component_Instance::acceleration

Offset 0xBC.

Definition at line 4213 of file dttr_pcdogs.h.

◆ active_count

uint8_t DTTR_PCDOGS_T_Component_Instance::active_count

Offset 0x49.

Definition at line 4195 of file dttr_pcdogs.h.

◆ active_max

uint8_t DTTR_PCDOGS_T_Component_Instance::active_max

Offset 0x4B.

Definition at line 4197 of file dttr_pcdogs.h.

◆ angular_vel_pitch

int32_t DTTR_PCDOGS_T_Component_Instance::angular_vel_pitch

Offset 0xEC.

Definition at line 4227 of file dttr_pcdogs.h.

◆ angular_vel_yaw

int32_t DTTR_PCDOGS_T_Component_Instance::angular_vel_yaw

Offset 0xE8.

Definition at line 4226 of file dttr_pcdogs.h.

◆ behavior_state

int32_t DTTR_PCDOGS_T_Component_Instance::behavior_state

Offset 0x28.

Definition at line 4186 of file dttr_pcdogs.h.

◆ bone_offset

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::bone_offset

Offset 0x80.

Definition at line 4206 of file dttr_pcdogs.h.

◆ collision_flags

int32_t DTTR_PCDOGS_T_Component_Instance::collision_flags

Runtime component/object collision flags, separate from level polygons. Offset 0x24.

Definition at line 4184 of file dttr_pcdogs.h.

◆ collision_group

int32_t DTTR_PCDOGS_T_Component_Instance::collision_group

Offset 0x100.

Definition at line 4232 of file dttr_pcdogs.h.

◆ damage_cooldown_timer

int32_t DTTR_PCDOGS_T_Component_Instance::damage_cooldown_timer

Offset 0x104.

Definition at line 4233 of file dttr_pcdogs.h.

◆ definition_ptr

DTTR_PCDOGS_T_Component_Definition* DTTR_PCDOGS_T_Component_Instance::definition_ptr

Offset 0x14.

Definition at line 4179 of file dttr_pcdogs.h.

◆ flags

int16_t DTTR_PCDOGS_T_Component_Instance::flags

Offset 0x20.

Definition at line 4182 of file dttr_pcdogs.h.

◆ flags_hi

int16_t DTTR_PCDOGS_T_Component_Instance::flags_hi

Offset 0x22.

Definition at line 4183 of file dttr_pcdogs.h.

◆ ground_height

int32_t DTTR_PCDOGS_T_Component_Instance::ground_height

Offset 0xC0.

Definition at line 4214 of file dttr_pcdogs.h.

◆ height_ref_comp

int32_t DTTR_PCDOGS_T_Component_Instance::height_ref_comp

Offset 0xF8.

Definition at line 4230 of file dttr_pcdogs.h.

◆ homing_vel

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::homing_vel

Offset 0xD4.

Definition at line 4221 of file dttr_pcdogs.h.

◆ lifetime

int16_t DTTR_PCDOGS_T_Component_Instance::lifetime

Offset 0x52.

Definition at line 4200 of file dttr_pcdogs.h.

◆ local_pos_xy

DTTR_PCDOGS_T_Math_Vec2I32 DTTR_PCDOGS_T_Component_Instance::local_pos_xy

Offset 0x40.

Definition at line 4193 of file dttr_pcdogs.h.

◆ local_rot

int32_t DTTR_PCDOGS_T_Component_Instance::local_rot

Offset 0x2C.

Definition at line 4187 of file dttr_pcdogs.h.

◆ local_rot_02

int16_t DTTR_PCDOGS_T_Component_Instance::local_rot_02

Offset 0x30.

Definition at line 4188 of file dttr_pcdogs.h.

◆ local_rot_11

int32_t DTTR_PCDOGS_T_Component_Instance::local_rot_11

Offset 0x34.

Definition at line 4190 of file dttr_pcdogs.h.

◆ local_rot_20

int32_t DTTR_PCDOGS_T_Component_Instance::local_rot_20

Offset 0x38.

Definition at line 4191 of file dttr_pcdogs.h.

◆ local_rot_22

int32_t DTTR_PCDOGS_T_Component_Instance::local_rot_22

Offset 0x3C.

Definition at line 4192 of file dttr_pcdogs.h.

◆ local_rot_hi

int16_t DTTR_PCDOGS_T_Component_Instance::local_rot_hi

Offset 0x32.

Definition at line 4189 of file dttr_pcdogs.h.

◆ local_scale

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::local_scale

Offset 0x74.

Definition at line 4205 of file dttr_pcdogs.h.

◆ lod_node_ptrs

DTTR_PCDOGS_T_Scene_Node* DTTR_PCDOGS_T_Component_Instance::lod_node_ptrs[3]

Offset 0x60.

Definition at line 4202 of file dttr_pcdogs.h.

◆ next_in_chain

DTTR_PCDOGS_T_Component_Instance* DTTR_PCDOGS_T_Component_Instance::next_in_chain

Offset 0x8.

Definition at line 4176 of file dttr_pcdogs.h.

◆ owner_actor_ref

DTTR_PCDOGS_T_Actor_State** DTTR_PCDOGS_T_Component_Instance::owner_actor_ref

Pointer to an Actor_State* slot; projectile logic dereferences it and checks the owner's lifecycle_flags. Offset 0xD0.

Definition at line 4219 of file dttr_pcdogs.h.

◆ parent_comp

DTTR_PCDOGS_T_Component_Instance* DTTR_PCDOGS_T_Component_Instance::parent_comp

Offset 0x0.

Definition at line 4174 of file dttr_pcdogs.h.

◆ pitch_angle

int16_t DTTR_PCDOGS_T_Component_Instance::pitch_angle

Offset 0xE4.

Definition at line 4224 of file dttr_pcdogs.h.

◆ pitch_angle_prev

int16_t DTTR_PCDOGS_T_Component_Instance::pitch_angle_prev

Offset 0xE6.

Definition at line 4225 of file dttr_pcdogs.h.

◆ prev_in_chain

DTTR_PCDOGS_T_Component_Instance* DTTR_PCDOGS_T_Component_Instance::prev_in_chain

Offset 0xC.

Definition at line 4177 of file dttr_pcdogs.h.

◆ prev_world_pos

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::prev_world_pos

Offset 0xA4.

Definition at line 4211 of file dttr_pcdogs.h.

◆ projectile_state

int32_t DTTR_PCDOGS_T_Component_Instance::projectile_state

Offset 0xC4.

Definition at line 4215 of file dttr_pcdogs.h.

◆ projectile_timer

int32_t DTTR_PCDOGS_T_Component_Instance::projectile_timer

Offset 0xCC.

Definition at line 4217 of file dttr_pcdogs.h.

◆ render_distance_sq

int32_t DTTR_PCDOGS_T_Component_Instance::render_distance_sq

Offset 0x90.

Definition at line 4208 of file dttr_pcdogs.h.

◆ scene_node_ptr

DTTR_PCDOGS_T_Scene_Node* DTTR_PCDOGS_T_Component_Instance::scene_node_ptr

Offset 0x10.

Definition at line 4178 of file dttr_pcdogs.h.

◆ script_vars

int32_t DTTR_PCDOGS_T_Component_Instance::script_vars[71]

Offset 0x108.

Definition at line 4234 of file dttr_pcdogs.h.

◆ shadow_node_ptr

DTTR_PCDOGS_T_Scene_Node* DTTR_PCDOGS_T_Component_Instance::shadow_node_ptr

Offset 0x6C.

Definition at line 4203 of file dttr_pcdogs.h.

◆ sound_slot_table

void* DTTR_PCDOGS_T_Component_Instance::sound_slot_table

Offset 0x70.

Definition at line 4204 of file dttr_pcdogs.h.

◆ spawn_context

DTTR_PCDOGS_T_Component_SpawnParams* DTTR_PCDOGS_T_Component_Instance::spawn_context

Offset 0xF4.

Definition at line 4229 of file dttr_pcdogs.h.

◆ spawn_count_byte_0

uint8_t DTTR_PCDOGS_T_Component_Instance::spawn_count_byte_0

Offset 0x48.

Definition at line 4194 of file dttr_pcdogs.h.

◆ spawn_count_byte_2

uint8_t DTTR_PCDOGS_T_Component_Instance::spawn_count_byte_2

Offset 0x4A.

Definition at line 4196 of file dttr_pcdogs.h.

◆ spawn_delay

int16_t DTTR_PCDOGS_T_Component_Instance::spawn_delay

Offset 0x50.

Definition at line 4199 of file dttr_pcdogs.h.

◆ spawn_interval

int32_t DTTR_PCDOGS_T_Component_Instance::spawn_interval

Offset 0x4C.

Definition at line 4198 of file dttr_pcdogs.h.

◆ spawn_offset

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::spawn_offset

Offset 0x54.

Definition at line 4201 of file dttr_pcdogs.h.

◆ spin_rate

int32_t DTTR_PCDOGS_T_Component_Instance::spin_rate

Offset 0xF0.

Definition at line 4228 of file dttr_pcdogs.h.

◆ state_word

int32_t DTTR_PCDOGS_T_Component_Instance::state_word

Offset 0x1C.

Definition at line 4181 of file dttr_pcdogs.h.

◆ target_actor

DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Component_Instance::target_actor

Offset 0x18.

Definition at line 4180 of file dttr_pcdogs.h.

◆ timer_packed

int32_t DTTR_PCDOGS_T_Component_Instance::timer_packed

Offset 0x4.

Definition at line 4175 of file dttr_pcdogs.h.

◆ trail_effect_ptr

DTTR_PCDOGS_T_Component_TrailObject* DTTR_PCDOGS_T_Component_Instance::trail_effect_ptr

Offset 0xFC.

Definition at line 4231 of file dttr_pcdogs.h.

◆ transform_flags

int32_t DTTR_PCDOGS_T_Component_Instance::transform_flags

Offset 0x8C.

Definition at line 4207 of file dttr_pcdogs.h.

◆ velocity

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::velocity

Offset 0xB0.

Definition at line 4212 of file dttr_pcdogs.h.

◆ visibility_mask

int32_t DTTR_PCDOGS_T_Component_Instance::visibility_mask

Offset 0x94.

Definition at line 4209 of file dttr_pcdogs.h.

◆ world_pos

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Component_Instance::world_pos

Offset 0x98.

Definition at line 4210 of file dttr_pcdogs.h.

◆ world_pos_ref

int32_t DTTR_PCDOGS_T_Component_Instance::world_pos_ref

Offset 0xC8.

Definition at line 4216 of file dttr_pcdogs.h.

◆ yaw_angle

int16_t DTTR_PCDOGS_T_Component_Instance::yaw_angle

Offset 0xE0.

Definition at line 4222 of file dttr_pcdogs.h.

◆ yaw_angle_prev

int16_t DTTR_PCDOGS_T_Component_Instance::yaw_angle_prev

Offset 0xE2.

Definition at line 4223 of file dttr_pcdogs.h.


The documentation for this struct was generated from the following file: