Skip to content

Commit a176548

Browse files
authored
Merge pull request #1155 from EOS-Contrib/1.17.0-HF-Test-Branch
Update EOS 1.17.0-HF
2 parents 0f572e5 + 384a883 commit a176548

File tree

14 files changed

+75
-102
lines changed

14 files changed

+75
-102
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:f93accfc264dfcf533de33ec7561acaaeb64f489e4143a60d07b4b3a390a272d
3-
size 28487160
2+
oid sha256:5d06b940d1d67736db2df3ce81520424b55b1fc0924bfc2f88ef7c06dc3c8a5c
3+
size 28493432
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b0591a96e7daa4a1031fff1fc1ff4332285e1d38d9676c33ab32d9da2ff8f765
3-
size 18266584
2+
oid sha256:47261706ef55eca3df8ff2fef22937c77c7e1cc8e98f3171a8562c47005d781b
3+
size 18235920
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:bc3750de00a87cdbea01285ba3c4ab46cdc92dbea134638f5de6982bad61a092
3-
size 14011864
2+
oid sha256:bfb79a75e72454b68f5d546e833936cb4c74804d67f58e1af232a49a425aa697
3+
size 14016528
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:833afa39d22dd170bcb4c0fe9774f315d62b4bf9c7682fa5a68a3f9bf6e7b75e
3-
size 45918384
2+
oid sha256:efd868245d2a7c10b3d31433e52669d976bd4d7f83cf67c527681d6a836a0d45
3+
size 44212608

com.playeveryware.eos/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
33
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [4.0.1] - 2025-02-14
6+
7+
### Changed
8+
- update to EOS SDK 1.17.0- HF
9+
10+
## [3.3.6] - 2025-02-03
511
## [4.0.0] - 2025-02-14
612

713
### Changed

com.playeveryware.eos/Runtime/Core/EOSPackageInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static class EOSPackageInfo
3333
* not involve editing source code files.
3434
*/
3535

36-
public const string Version = "4.0.0";
36+
public const string Version = "4.0.1";
3737

3838
public const string PackageName = "com.playeveryware.eos";
3939
}

com.playeveryware.eos/Runtime/EOS_SDK/Core/Config.cs

Lines changed: 17 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -46,65 +46,45 @@
4646

4747
namespace Epic.OnlineServices
4848
{
49-
// PEW: Start Modify
50-
// The partial attribute (added by PlayEveryWare) is the least intrusive
51-
// means by which the following class can be expanded to support additional
52-
// platforms. By making the class partial, supplementary partial
53-
// class definition files can be added to the codebase that will expand
54-
// platform support.
55-
public static partial class Config
49+
public static class Config
5650
{
57-
// This conditional (added by PlayEveryWare) is here (in conjunction with
58-
// the class it is contained within being marked as "partial") so that
59-
// other platforms can be supported by adding to this code-base another
60-
// part of the partial class that sets the LibraryName differently
61-
// depending on the presence of other scripting defines that indicate
62-
// available functionality on other platforms.
63-
#if EOS_PLATFORM_WINDOWS_32 || EOS_PLATFORM_WINDOWS_64 || EOS_PLATFORM_OSX || EOS_PLATFORM_LINUX || EOS_PLATFORM_IOS || EOS_PLATFORM_ANDROID
6451
public const string LibraryName =
65-
#if EOS_PLATFORM_WINDOWS_32 && EOS_UNITY
52+
#if EOS_PLATFORM_WINDOWS_32 && EOS_UNITY
6653
"EOSSDK-Win32-Shipping"
67-
#elif EOS_PLATFORM_WINDOWS_32
54+
#elif EOS_PLATFORM_WINDOWS_32
6855
"EOSSDK-Win32-Shipping.dll"
6956

70-
#elif EOS_PLATFORM_WINDOWS_64 && EOS_UNITY
57+
#elif EOS_PLATFORM_WINDOWS_64 && EOS_UNITY
7158
"EOSSDK-Win64-Shipping"
72-
#elif EOS_PLATFORM_WINDOWS_64
59+
#elif EOS_PLATFORM_WINDOWS_64
7360
"EOSSDK-Win64-Shipping.dll"
7461

75-
#elif EOS_PLATFORM_OSX && EOS_UNITY
62+
#elif EOS_PLATFORM_OSX && EOS_UNITY
7663
"libEOSSDK-Mac-Shipping"
77-
#elif EOS_PLATFORM_OSX
64+
#elif EOS_PLATFORM_OSX
7865
"libEOSSDK-Mac-Shipping.dylib"
7966

80-
#elif EOS_PLATFORM_LINUX && EOS_UNITY
67+
#elif EOS_PLATFORM_LINUX && EOS_UNITY
8168
"libEOSSDK-Linux-Shipping"
82-
#elif EOS_PLATFORM_LINUX
69+
#elif EOS_PLATFORM_LINUX
8370
"libEOSSDK-Linux-Shipping.so"
8471

85-
#elif EOS_PLATFORM_IOS && EOS_UNITY && EOS_EDITOR
72+
#elif EOS_PLATFORM_IOS && EOS_UNITY && EOS_EDITOR
8673
"EOSSDK"
87-
#elif EOS_PLATFORM_IOS
74+
#elif EOS_PLATFORM_IOS
8875
"EOSSDK.framework/EOSSDK"
8976

90-
#elif EOS_PLATFORM_ANDROID
77+
#elif EOS_PLATFORM_ANDROID
9178
"EOSSDK"
9279

93-
#else
94-
#error Unable to determine the name of the EOSSDK library. Ensure you have set the correct EOS compilation symbol for the current platform, such as EOS_PLATFORM_WINDOWS_32 or EOS_PLATFORM_WINDOWS_64, so that the correct EOSSDK library can be targeted.
80+
#else
81+
#error Unable to determine the name of the EOSSDK library. Ensure you have set the correct EOS compilation symbol for the current platform, such as EOS_PLATFORM_WINDOWS_32 or EOS_PLATFORM_WINDOWS_64, so that the correct EOSSDK library can be targeted.
9582
"EOSSDK-UnknownPlatform-Shipping"
9683

97-
#endif
84+
#endif
9885
;
99-
#elif EXTERNAL_TO_UNITY
100-
#if PLATFORM_64
101-
public const string LibraryName = "EOSSDK-Win64-Shipping.dll";
102-
#else
103-
public const string LibraryName = "EOSSDK-Win32-Shipping.dll";
104-
#endif
105-
#endif
106-
// PEW: End modify
107-
public const CallingConvention LibraryCallingConvention =
86+
87+
public const CallingConvention LibraryCallingConvention =
10888
#if EOS_PLATFORM_WINDOWS_32
10989
CallingConvention.StdCall
11090
#else

com.playeveryware.eos/Runtime/EOS_SDK/Core/Helper.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -630,16 +630,6 @@ private static IntPtr AddPinnedBuffer(Utf8String str)
630630
return AddPinnedBuffer(str.Bytes, 0);
631631
}
632632

633-
// PEW: Start Modify
634-
// This function is added because this file is included in a class
635-
// library with a lower supported version of C# that does not allow a
636-
// byte array to be automatically converted into an ArraySegment
637-
internal static IntPtr AddPinnedBuffer(byte[] array)
638-
{
639-
return array == null ? IntPtr.Zero : AddPinnedBuffer(new ArraySegment<byte>(array));
640-
}
641-
// PEW: End Modify
642-
643633
internal static IntPtr AddPinnedBuffer(ArraySegment<byte> array)
644634
{
645635
if (array == null)

com.playeveryware.eos/Runtime/EOS_SDK/Generated/Bindings.cs

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,62 @@
22
// This file is automatically generated. Changes to this file may be overwritten.
33

44
#if DEBUG
5-
#define EOS_DEBUG
5+
#define EOS_DEBUG
66
#endif
77

88
#if UNITY_EDITOR
9-
#define EOS_EDITOR
9+
#define EOS_EDITOR
1010
#endif
1111

1212
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID
13-
#define EOS_UNITY
13+
#define EOS_UNITY
1414
#endif
1515

1616
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS
17-
#if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS
18-
#define EOS_PLATFORM_WINDOWS_64
19-
#else
20-
#define EOS_PLATFORM_WINDOWS_32
21-
#endif
17+
#if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS
18+
#define EOS_PLATFORM_WINDOWS_64
19+
#else
20+
#define EOS_PLATFORM_WINDOWS_32
21+
#endif
2222

2323
#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
24-
#define EOS_PLATFORM_OSX
24+
#define EOS_PLATFORM_OSX
25+
26+
#elif UNITY_EDITOR_OSX
27+
#define EOS_PLATFORM_OSX_INEDITOR
2528

2629
#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
27-
#define EOS_PLATFORM_LINUX
30+
#define EOS_PLATFORM_LINUX
2831

2932
#elif UNITY_PS4
30-
#define EOS_PLATFORM_PS4
33+
#define EOS_PLATFORM_PS4
3134

3235
#elif UNITY_XBOXONE
33-
#define EOS_PLATFORM_XBOXONE
36+
#define EOS_PLATFORM_XBOXONE
3437

3538
#elif UNITY_SWITCH
36-
#define EOS_PLATFORM_SWITCH
39+
#define EOS_PLATFORM_SWITCH
3740

3841
#elif UNITY_IOS || __IOS__
39-
#define EOS_PLATFORM_IOS
42+
#define EOS_PLATFORM_IOS
4043

4144
#elif UNITY_ANDROID || __ANDROID__
42-
#define EOS_PLATFORM_ANDROID
45+
#define EOS_PLATFORM_ANDROID
4346

4447
#endif
4548

4649
#if EOS_EDITOR
47-
#define EOS_DYNAMIC_BINDINGS
50+
#define EOS_DYNAMIC_BINDINGS
4851
#endif
4952

5053
#if EOS_DYNAMIC_BINDINGS
51-
#if EOS_PLATFORM_WINDOWS_32
52-
#define EOS_DYNAMIC_BINDINGS_NAME_TYPE3
53-
#elif EOS_PLATFORM_OSX
54-
#define EOS_DYNAMIC_BINDINGS_NAME_TYPE2
55-
#else
56-
#define EOS_DYNAMIC_BINDINGS_NAME_TYPE1
57-
#endif
54+
#if EOS_PLATFORM_WINDOWS_32
55+
#define EOS_DYNAMIC_BINDINGS_NAME_TYPE3
56+
#elif EOS_PLATFORM_OSX
57+
#define EOS_DYNAMIC_BINDINGS_NAME_TYPE2
58+
#else
59+
#define EOS_DYNAMIC_BINDINGS_NAME_TYPE1
60+
#endif
5861
#endif
5962

6063
using System;
@@ -2141,9 +2144,11 @@ public static void Hook<TLibraryHandle>(TLibraryHandle libraryHandle, Func<TLibr
21412144
if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedName);
21422145
EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChanged = (EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_RemoveNotifyPeerAuthStatusChangedDelegate));
21432146

2147+
#if EOS_PLATFORM_OSX_INEDITOR
21442148
functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_Reserved01Name);
21452149
if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_Reserved01Name);
21462150
EOS_AntiCheatClient_Reserved01 = (EOS_AntiCheatClient_Reserved01Delegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(EOS_AntiCheatClient_Reserved01Delegate));
2151+
#endif
21472152

21482153
functionPointer = getFunctionPointer(libraryHandle, EOS_AntiCheatClient_UnprotectMessageName);
21492154
if (functionPointer == System.IntPtr.Zero) throw new DynamicBindingException(EOS_AntiCheatClient_UnprotectMessageName);
@@ -4468,10 +4473,10 @@ public static void Hook<TLibraryHandle>(TLibraryHandle libraryHandle, Func<TLibr
44684473
#endif
44694474

44704475
#if EOS_DYNAMIC_BINDINGS
4471-
/// <summary>
4472-
/// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set.
4473-
/// </summary>
4474-
public static void Unhook()
4476+
/// <summary>
4477+
/// Unhooks the dynamic SDK API bindings. EOS_DYNAMIC_BINDINGS or EOS_EDITOR must be set.
4478+
/// </summary>
4479+
public static void Unhook()
44754480
{
44764481
EOS_Achievements_AddNotifyAchievementsUnlocked = null;
44774482
EOS_Achievements_AddNotifyAchievementsUnlockedV2 = null;

com.playeveryware.eos/Runtime/EOS_SDK/Generated/ContinuanceToken.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,7 @@ public ContinuanceToken(System.IntPtr innerHandle) : base(innerHandle)
3636
public Result ToString(out Utf8String outBuffer)
3737
{
3838
int inOutBufferLength = 1024;
39-
40-
// PEW: Start modify
41-
// NOTES:
42-
//
43-
// The changes below are implemented temporarily by PEW to correct
44-
// an issue where the inOutBufferLength is not properly determined.
45-
//
46-
// Until this is resolved from Epic - these changes will need to
47-
// be maintained after the import of a new version of the EOS SDK.
48-
49-
// Call the EOS_ContinuanceToken_ToString function will a null buffer address to determine the correct buffer length.
50-
// Discard the result of this call because it is not relevant.
51-
_ = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, System.IntPtr.Zero, ref inOutBufferLength);
5239
System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength);
53-
// PEW: End modify
5440

5541
var funcResult = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength);
5642

0 commit comments

Comments
 (0)