1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
4 #include <CrySerialization/IArchive.h>
5 #include <CrySerialization/STL.h>
7 // FIXME: this should be replaced by CryGUID instead of using Windows-specific type
16 unsigned char Data4
[8];
21 #include <CryCore/ToolsHelpers/GuidUtil.h>
23 inline bool Serialize(Serialization::IArchive
& ar
, GUID
& guid
, const char* name
, const char* label
)
25 string str
= GuidUtil::ToString(guid
);
26 if (!ar(str
, name
, label
))
29 guid
= GuidUtil::FromString(str
.c_str());