SSBM Decomp
Loading...
Searching...
No Matches
CommandInfo Struct Reference

#include <types.h>

Data Fields

f32 timer
 
f32 frame_count
 
union { 
 
   u32 *   ptr [1] 
 
   union CmdUnion
 
      struct { 
 
         u32   code: 6 
 
         u32   value: 26 
 
      }   Command_00 
 
      struct { 
 
         u32   code: 6 
 
         u32   value: 26 
 
      }   Command_02 
 
      struct { 
 
         u32   code: 6 
 
         u32   value: 26 
 
      }   Command_03 
 
      struct { 
 
         u32   x 
 
      }   Command_04_2 
 
      struct { 
 
         union CmdUnion *   ptr 
 
      }   Command_05 
 
      struct { 
 
         union CmdUnion *   ptr 
 
      }   Command_07 
 
      struct { 
 
         u32   id: 6 
 
         u32   param_1: 8 
 
         u32   param_2: 18 
 
      }   Command_09 
 
      struct { 
 
         u32   code: 6 
 Bits 0~5. More...
 
         u32   unk1: 8 
 Bits 6~13. More...
 
         u32   unk2: 18 
 Bits 14~31. More...
 
      }   unk0 
 
      struct { 
 
         u32   code: 6 
 Bits 0~5. More...
 
         u32   unk0: 2 
 Bits 6~7. More...
 
         u32   unk1: 4 
 Bits 8~11. More...
 
         u32   unk2: 1 
 Bit 12. More...
 
      }   unk1 
 
      struct { 
 
         u32   code: 6 
 Bits 0~5. More...
 
         u32   hit_idx: 26 
 Bits 6~31. More...
 
      }   unk2 
 
      struct { 
 
         s32   unk0: 7 
 Bits 0~6. More...
 
         s32   unk1: 25 
 Bits 7~31. More...
 
      }   unk3 
 
      struct { 
 
         u16   unk0: 6 
 Bits 0~5. More...
 
         u16   unk1: 8 
 Bits 6~13. More...
 
      }   unk4 
 
      struct { 
 
         s32   unk0: 14 
 Bits 0~13. More...
 
         s32   unk1: 18 
 Bits 14~31. More...
 
      }   unk5 
 
      struct { 
 
         u8   unk0: 6 
 Bits 0~5. More...
 
         u8   unk1: 1 
 Bit 6. More...
 
      }   unk6 
 
      struct { 
 
         u32   unk0: 6 
 Bits 0~5. More...
 
         u32   unk1: 26 
 Bits 6~31. More...
 
      }   unk7 
 ftAction_80071998 More...
 
      struct { 
 
         int   unk0 
 
      }   unk8 
 
      struct { 
 
         s32   unk0: 6 
 
         s32   unk1: 7 
 
         s32   unk2: 7 
 
         u32   unk3: 12 
 
      }   part_anim 
 
      struct { 
 
         s32   unk0: 6 
 
         u32   unk1: 13 
 
         u32   unk2: 13 
 
      }   unk9 
 
      struct { 
 
         s32   unk0: 6 
 
         u32   unk1: 1 
 
         u32   unk2: 12 
 
         u32   unk3: 13 
 
      }   unk10 
 
      struct { 
 
         s32   unk0: 6 
 
         u32   unk1: 26 
 
      }   unk11 
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 2 
 
         u32   unk2: 10 
 
         u32   unk3: 14 
 
      }   unk12 
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 8 
 
         u32   unk2: 18 
 
      }   unk13 
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 8 
 
      }   unk14 
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 26 
 
      }   unk15 
 ftAction_80072B14 More...
 
      struct { 
 
         u32   unk0: 6 
 
         s32   unk3: 1 
 
         s32   unk4: 25 
 
      }   unk16 
 ftAction_80072B3C More...
 
      struct { 
 
         u32   unk0: 6 
 
         s32   unk1: 26 
 
      }   unk17 
 ftAction_80072B94 More...
 
      struct { 
 
         u32   unk0: 6 
 
         s32   damage_amount: 26 
 
      }   unk18 
 ftAction_80072BF4 More...
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 26 
 
      }   unk19 
 ftAction_80072C6C More...
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 26 
 
      }   unk20 
 ftAction_80072CB0 More...
 
      struct { 
 
         u32   unk0: 6 
 
         u32   unk1: 1 
 
         u32   unk2: 8 
 
      }   unk21 
 ftAction_800730B8 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   idx: 3 
 
         u32   value: 23 
 
      }   set_hitbox_damage 
 ftAction_8007162C More...
 
      struct { 
 
         u32   code: 6 
 
         u32   idx: 3 
 
         u32   value: 23 
 
      }   set_hitbox_scale 
 ftAction_8007169C More...
 
      struct { 
 
         u32   code: 6 
 
         u32   idx: 24 
 
         u32   type: 1 
 
         u32   value: 1 
 
      }   unk22 
 ftAction_80071708 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   idx: 2 
 
         u32   value: 24 
 
      }   set_cmd_var 
 ftAction_80071708 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   bone_idx: 8 
 
         u32   state: 18 
 
      }   set_hurt_state 
 ftAction_80071A9C More...
 
      struct { 
 
         u32   code: 6 
 
         u32   disabled: 26 
 
      }   unk23 
 ftAction_80071AE8 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   unk0: 26 
 
      }   unk24 
 ftAction_80071B28 More...
 
      struct { 
 
         u32   code: 6 
 
         s32   unk0: 7 
 
         s32   unk1: 19 
 
      }   unk25 
 ftAction_80071D40 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   idx: 3 
 
         u32   unk0: 23 
 
      }   unk26_0 
 ftAction_80071E04 command 0 More...
 
      struct { 
 
         u32   unk0: 9 
 
         u32   hit_x24: 9 
 
         u32   hit_x28: 9 
 
      }   unk26_1 
 ftAction_80071E04 command 1 More...
 
      struct { 
 
         u32   hit_x2C: 9 
 
         u32   element: 4 
 
         u32   sfx_severity: 3 
 
         u32   sfx_kind: 4 
 
      }   unk26_2 
 ftAction_80071E04 command 2 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   value: 26 
 
      }   unk27 
 ftAction_80071F34 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   value: 26 
 
      }   unk28 
 ftAction_80071F78 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   value: 26 
 
      }   unk29 
 ftAction_80071FA0 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   b: 1 
 
         s32   i0: 7 
 
         s32   i1: 7 
 
         s32   f: 11 
 
      }   unk30 
 ftAction_800726F4 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   unk0: 10 
 
         u32   unk1: 16 
 
      }   unk31 
 ftAction_80073008 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   unk0: 13 
 
         u32   unk1: 13 
 
      }   unk32 
 ftAction_80073008 More...
 
      struct { 
 
         u32   code: 6 
 
         u32   unk0: 13 
 
         u32   unk1: 13 
 
      }   unk33 
 it_8027990C More...
 
      struct { 
 
         u32   opcode: 6 
 
         u32   boneId: 8 
 
         u32   useCommonBoneIDs: 1 
 
         u32   destroyOnStateChange: 1 
 
         u32   useUnkBone: 1 
 
         u32   unk1: 15 
 
      }   test1 
 
      struct { 
 
         u32   gfxID: 16 
 
         u32   unkFloat: 16 
 
      }   test2 
 
      struct { 
 
         s16   offsetZ: 16 
 
         s16   offsetY: 16 
 
      }   test3 
 
      struct { 
 
         s16   offsetX: 16 
 
         u16   rangeZ: 16 
 
      }   test4 
 
      struct { 
 
         u16   rangeY: 16 
 
         u16   rangeX: 16 
 
      }   test5 
 
   }   u 
 
};  
 
u32 loop_count
 
union CmdUnion * event_return [3]
 
u32 loop_count_dup
 
u32 unk_x18
 

Field Documentation

◆ timer

f32 CommandInfo::timer

◆ frame_count

f32 CommandInfo::frame_count

◆ ptr [1/2]

u32* CommandInfo::ptr[1]
Todo:
Hack to match Command_04

◆ code

u32 CommandInfo::code

Bits 0~5.

◆ value

u32 CommandInfo::value

◆ [struct]

struct { ... } CommandInfo::Command_00

◆ [struct]

struct { ... } CommandInfo::Command_02

◆ [struct]

struct { ... } CommandInfo::Command_03

◆ x

u32 CommandInfo::x

◆ [struct]

struct { ... } CommandInfo::Command_04_2

◆ ptr [2/2]

union CmdUnion* CommandInfo::ptr

◆ [struct]

struct { ... } CommandInfo::Command_05

◆ [struct]

struct { ... } CommandInfo::Command_07

◆ id

u32 CommandInfo::id

◆ param_1

u32 CommandInfo::param_1

◆ param_2

u32 CommandInfo::param_2

◆ [struct]

struct { ... } CommandInfo::Command_09

◆ unk1 [1/5]

u32 CommandInfo::unk1

Bits 6~13.

Bits 6~31.

Bits 8~11.

◆ unk2 [1/3]

u32 CommandInfo::unk2

Bits 14~31.

Bit 12.

◆ [struct] [1/6]

struct { ... } CommandInfo::unk0

◆ unk0 [2/6]

u32 CommandInfo::unk0

Bits 6~7.

Bits 0~5.

◆ [struct] [2/5]

struct { ... } CommandInfo::unk1

◆ hit_idx

u32 CommandInfo::hit_idx

Bits 6~31.

◆ [struct] [2/3]

struct { ... } CommandInfo::unk2

◆ unk0 [3/6]

s32 CommandInfo::unk0

Bits 0~6.

Bits 0~13.

◆ unk1 [3/5]

s32 CommandInfo::unk1

Bits 7~31.

Bits 14~31.

◆ [struct] [1/3]

struct { ... } CommandInfo::unk3

◆ unk0 [4/6]

u16 CommandInfo::unk0

Bits 0~5.

◆ unk1 [4/5]

u16 CommandInfo::unk1

Bits 6~13.

◆ [struct] [1/2]

struct { ... } CommandInfo::unk4

◆ [struct]

struct { ... } CommandInfo::unk5

◆ unk0 [5/6]

u8 CommandInfo::unk0

Bits 0~5.

◆ unk1 [5/5]

u8 CommandInfo::unk1

Bit 6.

◆ [struct]

struct { ... } CommandInfo::unk6

◆ [struct]

struct { ... } CommandInfo::unk7

◆ unk0 [6/6]

int CommandInfo::unk0

◆ [struct]

struct { ... } CommandInfo::unk8

◆ unk2 [3/3]

s32 CommandInfo::unk2

◆ unk3 [2/3]

u32 CommandInfo::unk3

◆ [struct]

struct { ... } CommandInfo::part_anim

◆ [struct]

struct { ... } CommandInfo::unk9

◆ [struct]

struct { ... } CommandInfo::unk10

◆ [struct]

struct { ... } CommandInfo::unk11

◆ [struct]

struct { ... } CommandInfo::unk12

◆ [struct]

struct { ... } CommandInfo::unk13

◆ [struct]

struct { ... } CommandInfo::unk14

◆ [struct]

struct { ... } CommandInfo::unk15

◆ unk3 [3/3]

s32 CommandInfo::unk3

◆ unk4 [2/2]

s32 CommandInfo::unk4

◆ [struct]

struct { ... } CommandInfo::unk16

◆ [struct]

struct { ... } CommandInfo::unk17

◆ damage_amount

s32 CommandInfo::damage_amount

◆ [struct]

struct { ... } CommandInfo::unk18

◆ [struct]

struct { ... } CommandInfo::unk19

◆ [struct]

struct { ... } CommandInfo::unk20

◆ [struct]

struct { ... } CommandInfo::unk21

◆ idx

u32 CommandInfo::idx

◆ [struct]

struct { ... } CommandInfo::set_hitbox_damage

◆ [struct]

struct { ... } CommandInfo::set_hitbox_scale

◆ type

u32 CommandInfo::type

◆ [struct]

struct { ... } CommandInfo::unk22

◆ [struct]

struct { ... } CommandInfo::set_cmd_var

◆ bone_idx

u32 CommandInfo::bone_idx

◆ state

u32 CommandInfo::state

◆ [struct]

struct { ... } CommandInfo::set_hurt_state

◆ disabled

u32 CommandInfo::disabled

◆ [struct]

struct { ... } CommandInfo::unk23

◆ [struct]

struct { ... } CommandInfo::unk24

◆ [struct]

struct { ... } CommandInfo::unk25

◆ [struct]

struct { ... } CommandInfo::unk26_0

ftAction_80071E04 command 0

◆ hit_x24

u32 CommandInfo::hit_x24

◆ hit_x28

u32 CommandInfo::hit_x28

◆ [struct]

struct { ... } CommandInfo::unk26_1

ftAction_80071E04 command 1

◆ hit_x2C

u32 CommandInfo::hit_x2C

◆ element

u32 CommandInfo::element

◆ sfx_severity

u32 CommandInfo::sfx_severity

◆ sfx_kind

u32 CommandInfo::sfx_kind

◆ [struct]

struct { ... } CommandInfo::unk26_2

ftAction_80071E04 command 2

◆ [struct]

struct { ... } CommandInfo::unk27

◆ [struct]

struct { ... } CommandInfo::unk28

◆ [struct]

struct { ... } CommandInfo::unk29

◆ b

u32 CommandInfo::b

◆ i0

s32 CommandInfo::i0

◆ i1

s32 CommandInfo::i1

◆ f

s32 CommandInfo::f

◆ [struct]

struct { ... } CommandInfo::unk30

◆ [struct]

struct { ... } CommandInfo::unk31

◆ [struct]

struct { ... } CommandInfo::unk32

◆ [struct]

struct { ... } CommandInfo::unk33

◆ opcode

u32 CommandInfo::opcode

◆ boneId

u32 CommandInfo::boneId

◆ useCommonBoneIDs

u32 CommandInfo::useCommonBoneIDs

◆ destroyOnStateChange

u32 CommandInfo::destroyOnStateChange

◆ useUnkBone

u32 CommandInfo::useUnkBone

◆ [struct]

struct { ... } CommandInfo::test1

◆ gfxID

u32 CommandInfo::gfxID

◆ unkFloat

u32 CommandInfo::unkFloat

◆ [struct]

struct { ... } CommandInfo::test2

◆ offsetZ

s16 CommandInfo::offsetZ

◆ offsetY

s16 CommandInfo::offsetY

◆ [struct]

struct { ... } CommandInfo::test3

◆ offsetX

s16 CommandInfo::offsetX

◆ rangeZ

u16 CommandInfo::rangeZ

◆ [struct]

struct { ... } CommandInfo::test4

◆ rangeY

u16 CommandInfo::rangeY

◆ rangeX

u16 CommandInfo::rangeX

◆ [struct]

struct { ... } CommandInfo::test5

◆ [union]

union { ... } ::CmdUnion* CommandInfo::u

◆ [union]

union { ... } CommandInfo

◆ loop_count

u32 CommandInfo::loop_count

◆ event_return

union CmdUnion* CommandInfo::event_return[3]

◆ loop_count_dup

u32 CommandInfo::loop_count_dup

◆ unk_x18

u32 CommandInfo::unk_x18

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