31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// (c) Copyright, Ubisoft Entertainment Inc. || Created by Harbour //
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#pragma once
|
|
#include <ubiservices/core/configs/config.h>
|
|
#if defined(US_SDK_FULL)
|
|
|
|
namespace US_NS {;
|
|
|
|
class Json;
|
|
class EntityId;
|
|
class EntityProfile;
|
|
class EntitySpace;
|
|
class ProfileId;
|
|
class SpaceId;
|
|
|
|
struct EntityTestHelper // Friend of Entity
|
|
{
|
|
static void setEntityId(EntityProfile& EntityProfile, const EntityId& entityId);
|
|
static void setProfileId(EntityProfile& EntityProfile, const ProfileId& profileId);
|
|
static void setSpaceId(EntityProfile& EntityProfile, const SpaceId& spaceId);
|
|
static bool parseJson(EntityProfile& EntityProfile, const Json& entityJson);
|
|
|
|
static void setEntityId(EntitySpace& EntityProfile, const EntityId& entityId);
|
|
static void setSpaceId(EntitySpace& EntityProfile, const SpaceId& spaceId);
|
|
static bool parseJson(EntitySpace& EntityProfile, const Json& entityJson);
|
|
};
|
|
|
|
};
|
|
|
|
#endif // defined(US_SDK_FULL)
|