Skip to content

Commit 3022449

Browse files
committed
Merge branch 'development' into release-3.2.0
Merging with development (specifically to get ContinuanceToken fix).
2 parents fcbd2be + da25b6f commit 3022449

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Assets/Plugins/Source/EOS_SDK/Generated/ContinuanceToken.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ public Result ToString(out Utf8String outBuffer)
3838
int inOutBufferLength = 1024;
3939
System.IntPtr outBufferAddress = Helper.AddAllocation(inOutBufferLength);
4040

41+
// PEW: Start modify
42+
// NOTES:
43+
//
44+
// The changes below are implemented temporarily by PEW to correct
45+
// an issue where the inOutBufferLength is not properly determined.
46+
//
47+
// Until this is resolved from Epic - these changes will need to
48+
// be maintained after the import of a new version of the EOS SDK.
49+
50+
// Call the EOS_ContinuanceToken_ToString function will a null buffer address to determine the correct buffer length.
51+
// Discard the result of this call because it is not relevant.
52+
_ = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, System.IntPtr.Zero, ref inOutBufferLength);
53+
// PEW: End modify
54+
4155
var funcResult = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength);
4256

4357
Helper.Get(outBufferAddress, out outBuffer);

0 commit comments

Comments
 (0)