You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to create all members for struct to add them to base structure based on offset and sizes of structures rather than setting them all on current structure
#8147
struct Model __packed
{
}
struct __base(Model, 0) Player __packed
{
}
where Player is of size 0x100 and Model is of size 0x50. I want an option similar to when i use the menu option to create all members for structure to define types within offset 0x0->0x50 on the Model structure rather than the Player structure and take offsets from 0x50->0x100 and define them on the Player structure
such that I get:
class __base(Model, 0) Player __packed
{
__inherited int32_t Model::field1;
????
etc.
int32_t derived_field1;
};
instead of
class __base(Model, 0) Player __packed
{
int32_t field1;
????
etc.
int32_t derived_field1;
};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have something like
where Player is of size 0x100 and Model is of size 0x50. I want an option similar to when i use the menu option to create all members for structure to define types within offset 0x0->0x50 on the Model structure rather than the Player structure and take offsets from 0x50->0x100 and define them on the Player structure
such that I get:
instead of
Beta Was this translation helpful? Give feedback.
All reactions