Skip to content

Commit 0445ea3

Browse files
committed
Support more text types
1 parent 0636792 commit 0445ea3

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

patterns/gvas.hexpat

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,23 @@ enum EFormatArgumentType: u8 {
256256
Float,
257257
Double,
258258
Text,
259+
Gender,
259260
};
260261

261262
using FText;
262263
struct FFormatArgumentValue {
263264
EFormatArgumentType type;
264265
match (type) {
266+
(EFormatArgumentType::Double): double value;
267+
(EFormatArgumentType::Float): float value;
265268
(EFormatArgumentType::Int): {
266-
// FUE5ReleaseStreamObjectVersion::TextFormatArgumentData64bitSupport
269+
if (text64bitSupport) {
270+
s64 value;
271+
} else {
272+
s32 value;
273+
}
274+
}
275+
(EFormatArgumentType::UInt | EFormatArgumentType::Gender): {
267276
if (text64bitSupport) {
268277
u64 value;
269278
} else {
258 KB
Binary file not shown.

0 commit comments

Comments
 (0)