Added Type stubbing

This commit is contained in:
Samuele Lorefice
2025-01-22 17:56:49 +01:00
parent 2d6159e331
commit 9a949dbeab
112 changed files with 610 additions and 313 deletions

View File

@@ -17,11 +17,11 @@ namespace BlendFile.DNA {
public bAction ptr_action;
public int slot_handle;
public char[] slot_name = new System.Char[66];
public uchar[] _pad0 = new uchar[2];
public byte[] _pad0 = new System.Byte[2];
public bAction ptr_tmpact;
public int tmp_slot_handle;
public char[] tmp_slot_name = new System.Char[66];
public uchar[] _pad1 = new uchar[2];
public byte[] _pad1 = new System.Byte[2];
public ListBase nla_tracks;
public NlaTrack ptr_act_track;
public NlaStrip ptr_actstrip;
@@ -32,16 +32,16 @@ namespace BlendFile.DNA {
public short act_blendmode;
public short act_extendmode;
public float act_influence;
public uchar[] _pad2 = new uchar[4];
public byte[] _pad2 = new System.Byte[4];
public AnimData(
bAction ptr_action,
int slot_handle,
char[] slot_name,
uchar[] _pad0,
byte[] _pad0,
bAction ptr_tmpact,
int tmp_slot_handle,
char[] tmp_slot_name,
uchar[] _pad1,
byte[] _pad1,
ListBase nla_tracks,
NlaTrack ptr_act_track,
NlaStrip ptr_actstrip,
@@ -52,7 +52,7 @@ namespace BlendFile.DNA {
short act_blendmode,
short act_extendmode,
float act_influence,
uchar[] _pad2) {
byte[] _pad2) {
this.ptr_action = ptr_action;
this.slot_handle = slot_handle;
this.slot_name = slot_name;