Ark Server API (ASE) - Wiki
|
#include <StructBuilder.h>
Public Member Functions | |
FStructBuilder () | |
int32 | AddMember (int32 MemberSize, int32 MemberAlignment) |
int32 | GetSize () const |
int32 | GetAlignment () const |
Private Attributes | |
int32 | EndOfLastMember |
int32 | Alignment |
Lays out up a struct at runtime, in hopefully the same way as a compiler, and returns the offset of each member as it's added.
Definition at line 13 of file StructBuilder.h.
|
inline |
Definition at line 16 of file StructBuilder.h.
Adds a new member to the end of the struct.
MemberSize | The size of the member. |
MemberAlignment | The alignment of the member. |
Definition at line 30 of file StructBuilder.h.
|
inline |
Returns the current alignment of the struct.
Definition at line 53 of file StructBuilder.h.
|
inline |
Returns the current size of the struct.
Definition at line 43 of file StructBuilder.h.
|
private |
Definition at line 63 of file StructBuilder.h.
|
private |
Definition at line 60 of file StructBuilder.h.