You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
37 lines
1.7 KiB
C
37 lines
1.7 KiB
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
// Private conventions of the JsonObjectGraph object representation - these
|
|
// would be shared between 'from' and 'to' implementations - if you update
|
|
// these make sure to update the tchar version as well if present. TCHAR
|
|
// versions exist because the underlying JSON writer/reader I'm using
|
|
// speaks it 'natively', long term I'm hoping to remove all TCHAR.
|
|
|
|
// 'Package' level conventions, these are used at the root level:
|
|
#define UE_JSON_ROOT_OBJECTS_KEY_TCHAR TEXT("__RootObjects")
|
|
|
|
#define UE_JSON_CUSTOM_VERSIONS_KEY_TCHAR TEXT("__CustomVersions")
|
|
|
|
// UObject instance conventions:
|
|
#define UE_JSON_OBJECT_INSTANCE_KEY_TCHAR TEXT("__UObject")
|
|
#define UE_JSON_OBJECT_NAME_KEY_TCHAR TEXT("Name")
|
|
#define UE_JSON_OBJECT_CLASS_KEY_TCHAR TEXT("Class")
|
|
#define UE_JSON_OBJECT_FLAGS_KEY_TCHAR TEXT("Flags")
|
|
#define UE_JSON_OBJECT_STRUCTURED_DATA_KEY_TCHAR TEXT("__StructuredData")
|
|
#define UE_JSON_OBJECT_SERIAL_DATA_KEY_TCHAR TEXT("__SerialData")
|
|
#define UE_JSON_OBJECT_SPARSE_CLASS_DATA_KEY_TCHAR TEXT("__SparseClassData")
|
|
#define UE_JSON_OBJECT_INDIRECTLY_REFERENCED_KEY_TCHAR TEXT("__IndirectlyReferenced")
|
|
|
|
// Reference encoding related conventions:
|
|
#define UE_JSON_OBJECT_REF_PREFIX "uobject:"
|
|
#define UE_JSON_FIELD_REF_PREFIX "ffield:"
|
|
#define UE_JSON_REF_NONE "None"
|
|
#define UE_JSON_DOMAIN_IDENTIFIER_NATIVE "__native__"
|
|
#define UE_JSON_DOMAIN_IDENTIFIER_FILE "__file__"
|
|
#define UE_JSON_REF_POSTFIX ".uasset"
|
|
|
|
// Conventions related to encoding generic intrinsic types (TMap and TOptional):
|
|
#define UE_JSON_TMAP_KEY_KEY_TCHAR TEXT("Key")
|
|
#define UE_JSON_TMAP_VALUE_KEY_TCHAR TEXT("Value")
|
|
#define UE_JSON_OPTIONAL_VALUE_KEY_TCHAR TEXT("OptionalValue") |