File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Assets/Plugins/Source/EOS_SDK/Generated Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments