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

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Actor_Stateowner_actor
DTTR_PCDOGS_T_Component_Definitiondefinition
 Offset 0x4.
DTTR_PCDOGS_T_Actor_Statesource_actor
int32_t spawn_local_pos_x
int32_t spawn_local_pos_y
 Offset 0x10.
int32_t spawn_local_pos_z
 Offset 0x14.
DTTR_PCDOGS_T_Actor_Stateposition_anchor_or_actor
uint32_t state_flags

Detailed Description

Definition at line 1499 of file dttr_pcdogs.h.

Field Documentation

◆ definition

DTTR_PCDOGS_T_Component_Definition* DTTR_PCDOGS_T_Component_SpawnParams::definition

Offset 0x4.

Definition at line 1503 of file dttr_pcdogs.h.

◆ owner_actor

DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Component_SpawnParams::owner_actor

Owning live Actor_State/context for projectile/component spawn logic. Offset 0x0.

Definition at line 1501 of file dttr_pcdogs.h.

◆ position_anchor_or_actor

DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Component_SpawnParams::position_anchor_or_actor

Position anchor actor/context slot; value -1 selects spawn_local_pos_* local position storage. Offset 0x18.

Definition at line 1513 of file dttr_pcdogs.h.

◆ source_actor

DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Component_SpawnParams::source_actor

Source/fallback actor context copied into the spawned component record when present. Offset 0x8.

Definition at line 1505 of file dttr_pcdogs.h.

◆ spawn_local_pos_x

int32_t DTTR_PCDOGS_T_Component_SpawnParams::spawn_local_pos_x

First dword of the fixed spawn-position block used when position_anchor_or_actor selects local position storage. Offset 0xC.

Definition at line 1507 of file dttr_pcdogs.h.

◆ spawn_local_pos_y

int32_t DTTR_PCDOGS_T_Component_SpawnParams::spawn_local_pos_y

Offset 0x10.

Definition at line 1510 of file dttr_pcdogs.h.

◆ spawn_local_pos_z

int32_t DTTR_PCDOGS_T_Component_SpawnParams::spawn_local_pos_z

Offset 0x14.

Definition at line 1511 of file dttr_pcdogs.h.

◆ state_flags

uint32_t DTTR_PCDOGS_T_Component_SpawnParams::state_flags

Projectile/component spawn-state flags; update logic tests bits 0x1 and 0x4 here. Offset 0x28.

Definition at line 1516 of file dttr_pcdogs.h.


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