Source documentaire
Enumerations Blueprint
EGsIdFormat
N: 64 caracteres hexadecimaux ;D: groupement16-8-8-8-8-16.
EGsIdLetterCase
UpperLower
FGsId
FGsId est un USTRUCT(BlueprintType) de 32 octets exactement.
Constantes
ByteLength = 32NormalizedStringLength = 64FormattedStringLength = 69
Creation
FGsId::Empty();
FGsId::NewGsId();
FGsId::TryNewGsId(OutGsId);
FGsId::FromBytes(...);
FGsId::CreateDeterministic(...);
CreateDeterministic fournit une generation deterministe basee sur les octets d entree.
Parsing et formatage
FGsId::Parse(Value, OutGsId);
FGsId::ParseExact(Value, Format, OutGsId);
id.ToString(EGsIdFormat::D, EGsIdLetterCase::Upper);
Etat et octets
id.IsEmpty();
id.IsValid();
id.GetBytes();
id.CopyBytes(...);
id.ToByteArray();
Integration C++ native
Lorsque CPP est disponible, FGsId peut etre construit depuis GalacticShrine::GsId et reconverti avec ToNative().
Serialisation Unreal
FGsId expose :
Serialize(FArchive&);ExportTextItem(...);ImportTextItem(...);NetSerialize(...);operator<<pourFArchive;LexToStringetLexFromString.
Les TStructOpsTypeTraits activent la serialisation, le texte, le net serializer, l egalite structurelle, le zero constructor et l absence de destructeur.
Comparaison et hash
FGsId implemente ==, !=, <, >, <=, >= et GetTypeHash.
UGsIdBlueprintLibrary
Noeuds exposes :
New GsIdTry New GsIdEmpty GsIdIs EmptyIs ValidEqual (GsId)Not Equal (GsId)Less (GsId)To StringParseTo BytesFrom BytesCreate Deterministic GsIdGet Stable Hash
Modules du plugin
Le plugin declare un module Runtime GsId et un module Editor GsIdEditor. Les plateformes cibles annoncees sont Win64, Linux et Mac.