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

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Symbol_Data_ID SymbolID
DTTR_PCDOGS_T_Data_ID DataID
DTTR_PCDOGS_T_Write_Policy(* Policy )()
DTTR_Result(* Status )()
bool(* IsResolved )()
uintptr_t(* Address )()
DTTR_PCDOGS_T_Script_OpcodeTable *(* Ptr )()
DTTR_Result(* Read )(DTTR_PCDOGS_T_Script_OpcodeTable *out_value)
DTTR_Result(* Write )(DTTR_PCDOGS_T_Script_OpcodeTable value)
DTTR_Result(* UnsafeWrite )(DTTR_PCDOGS_T_Script_OpcodeTable value)
 Bypasses Policy(); still requires resolved, writable memory.
DTTR_PCDOGS_T_Patch_Spec(* PatchSpec )(bool required, void *new_value, void **out_original)

Detailed Description

Script opcode handler table used by actor-script execution paths including Script_OpRunWithActor. The table is per-opcode semantics still require case-by-case review before naming individual handlers.

Returns
Typed data symbol object.

Definition at line 62372 of file dttr_pcdogs.h.

Field Documentation

◆ Address

uintptr_t(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::Address) ()

Definition at line 62378 of file dttr_pcdogs.h.

◆ DataID

DTTR_PCDOGS_T_Data_ID DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::DataID

Definition at line 62374 of file dttr_pcdogs.h.

◆ IsResolved

bool(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::IsResolved) ()

Definition at line 62377 of file dttr_pcdogs.h.

◆ PatchSpec

DTTR_PCDOGS_T_Patch_Spec(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::PatchSpec) (bool required, void *new_value, void **out_original)

Definition at line 62387 of file dttr_pcdogs.h.

◆ Policy

DTTR_PCDOGS_T_Write_Policy(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::Policy) ()

Definition at line 62375 of file dttr_pcdogs.h.

◆ Ptr

DTTR_PCDOGS_T_Script_OpcodeTable *(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::Ptr) ()

Definition at line 62379 of file dttr_pcdogs.h.

◆ Read

DTTR_Result(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::Read) (DTTR_PCDOGS_T_Script_OpcodeTable *out_value)

Definition at line 62380 of file dttr_pcdogs.h.

◆ Status

DTTR_Result(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::Status) ()

Definition at line 62376 of file dttr_pcdogs.h.

◆ SymbolID

DTTR_PCDOGS_T_Symbol_Data_ID DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::SymbolID

Definition at line 62373 of file dttr_pcdogs.h.

◆ UnsafeWrite

DTTR_Result(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::UnsafeWrite) (DTTR_PCDOGS_T_Script_OpcodeTable value)

Bypasses Policy(); still requires resolved, writable memory.

Definition at line 62385 of file dttr_pcdogs.h.

◆ Write

DTTR_Result(* DTTR_PCDOGS_D_Script_ActorOpcodeDispatchTable_type::Write) (DTTR_PCDOGS_T_Script_OpcodeTable value)

Writer that enforces the symbol write policy. Returns DTTR_ERR_POLICY_MISMATCH unless Policy() is RAW_MEMORY.

Definition at line 62383 of file dttr_pcdogs.h.


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