Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

70 lines
2.2 KiB
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
// These numbers define the banner SDK version, and are the most significant numbers when ordering two engine versions (that is, a 4.12.* version is always
// newer than a 4.11.* version, regardless of the changelist that it was built with)
/** The Major version number */
#define EOS_MAJOR_VERSION 1
/** The Minor version number */
#define EOS_MINOR_VERSION 18
/** The Patch version number */
#define EOS_PATCH_VERSION 0
/** The Hotfix version number */
#define EOS_HOTFIX_VERSION 4
// Macros for encoding strings
#define EOS_VERSION_STRINGIFY_2(x) #x
#define EOS_VERSION_STRINGIFY(x) EOS_VERSION_STRINGIFY_2(x)
// Various strings used for engine resources
/** The company name */
#define EOS_COMPANY_NAME "Epic Games, Inc."
/** The copyright string */
#define EOS_COPYRIGHT_STRING "Copyright Epic Games, Inc. All Rights Reserved."
/** The product name */
#define EOS_PRODUCT_NAME "Epic Online Services SDK"
/** The product identifier */
#define EOS_PRODUCT_IDENTIFIER "Epic Online Services SDK"
#define EOS_VERSION_STRING_BASE \
EOS_VERSION_STRINGIFY(EOS_MAJOR_VERSION) "." \
EOS_VERSION_STRINGIFY(EOS_MINOR_VERSION) "." \
EOS_VERSION_STRINGIFY(EOS_PATCH_VERSION) "." \
EOS_VERSION_STRINGIFY(EOS_HOTFIX_VERSION)
#if defined(BUILT_FROM_CHANGELIST)
#define EOS_VERSION_STRING_AFTERCL \
EOS_VERSION_STRING_BASE "-" \
EOS_VERSION_STRINGIFY(BUILT_FROM_CHANGELIST)
#else
#define EOS_VERSION_STRING_AFTERCL \
EOS_VERSION_STRING_BASE
#endif
#if defined(BUILT_FOR_SDK_VERSION)
#define EOS_VERSION_STRING \
EOS_VERSION_STRING_AFTERCL "+" \
EOS_VERSION_STRINGIFY(BUILT_FOR_SDK_VERSION)
#else
#define EOS_VERSION_STRING \
EOS_VERSION_STRING_AFTERCL
#endif
#ifndef RC_INVOKED
#include "eos_base.h"
/**
* Get the version of the compiled EOSSDK binary
* MAJOR.MINOR.PATCH.HOTFIX-CHANGELIST#-PLATFORMSDKVERSION
*
* It is the version available at runtime
* It should match the version of the headers being used
*
* @return the version of the compiled EOSSDK binary
*/
EOS_DECLARE_FUNC(const char*) EOS_GetVersion(void);
#endif /* #ifndef RC_INVOKED */