Browse Source

First import

master
Nico de Poel 5 years ago
commit
d6bba9c8a9
  1. 7
      .gitignore
  2. 8
      Assets/Plugins.meta
  3. 8
      Assets/Plugins/EpicOnlineServices.meta
  4. 8
      Assets/Plugins/EpicOnlineServices/Bin.meta
  5. BIN
      Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win32-Shipping.dll
  6. 67
      Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win32-Shipping.dll.meta
  7. BIN
      Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win64-Shipping.dll
  8. 67
      Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win64-Shipping.dll.meta
  9. BIN
      Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Linux-Shipping.so
  10. 67
      Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Linux-Shipping.so.meta
  11. BIN
      Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Mac-Shipping.dylib
  12. 67
      Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Mac-Shipping.dylib.meta
  13. 8
      Assets/Plugins/EpicOnlineServices/Bin/x64.meta
  14. BIN
      Assets/Plugins/EpicOnlineServices/Bin/x64/xaudio2_9redist.dll
  15. 67
      Assets/Plugins/EpicOnlineServices/Bin/x64/xaudio2_9redist.dll.meta
  16. 8
      Assets/Plugins/EpicOnlineServices/Bin/x86.meta
  17. BIN
      Assets/Plugins/EpicOnlineServices/Bin/x86/xaudio2_9redist.dll
  18. 67
      Assets/Plugins/EpicOnlineServices/Bin/x86/xaudio2_9redist.dll.meta
  19. 8
      Assets/Plugins/EpicOnlineServices/Source.meta
  20. 8
      Assets/Plugins/EpicOnlineServices/Source/Core.meta
  21. 16
      Assets/Plugins/EpicOnlineServices/Source/Core/BoxedData.cs
  22. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/BoxedData.cs.meta
  23. 97
      Assets/Plugins/EpicOnlineServices/Source/Core/Config.cs
  24. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/Config.cs.meta
  25. 70
      Assets/Plugins/EpicOnlineServices/Source/Core/Handle.cs
  26. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/Handle.cs.meta
  27. 1441
      Assets/Plugins/EpicOnlineServices/Source/Core/Helper.cs
  28. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/Helper.cs.meta
  29. 27
      Assets/Plugins/EpicOnlineServices/Source/Core/HelperExtensions.cs
  30. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/HelperExtensions.cs.meta
  31. 18
      Assets/Plugins/EpicOnlineServices/Source/Core/ICallbackInfo.cs
  32. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/ICallbackInfo.cs.meta
  33. 9
      Assets/Plugins/EpicOnlineServices/Source/Core/ISettable.cs
  34. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/ISettable.cs.meta
  35. 14
      Assets/Plugins/EpicOnlineServices/Source/Core/MonoPInvokeCallbackAttribute.cs
  36. 11
      Assets/Plugins/EpicOnlineServices/Source/Core/MonoPInvokeCallbackAttribute.cs.meta
  37. 8
      Assets/Plugins/EpicOnlineServices/Source/Generated.meta
  38. 8
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements.meta
  39. 668
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AchievementsInterface.cs
  40. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AchievementsInterface.cs.meta
  41. 35
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs
  42. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs.meta
  43. 35
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs
  44. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs.meta
  45. 50
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs
  46. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs.meta
  47. 49
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs
  48. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs.meta
  49. 50
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs
  50. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs.meta
  51. 49
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs
  52. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs.meta
  53. 82
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs
  54. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs.meta
  55. 81
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs
  56. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs.meta
  57. 66
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs
  58. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs.meta
  59. 65
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs
  60. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs.meta
  61. 310
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/Definition.cs
  62. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/Definition.cs.meta
  63. 286
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/DefinitionV2.cs
  64. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/DefinitionV2.cs.meta
  65. 35
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetAchievementDefinitionCountOptions.cs
  66. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetAchievementDefinitionCountOptions.cs.meta
  67. 50
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetPlayerAchievementCountOptions.cs
  68. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetPlayerAchievementCountOptions.cs.meta
  69. 50
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetUnlockedAchievementCountOptions.cs
  70. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetUnlockedAchievementCountOptions.cs.meta
  71. 14
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallback.cs
  72. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallback.cs.meta
  73. 93
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs
  74. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs.meta
  75. 14
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs
  76. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs.meta
  77. 109
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs
  78. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs.meta
  79. 14
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs
  80. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs.meta
  81. 73
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs
  82. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs.meta
  83. 15
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs
  84. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs.meta
  85. 90
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs
  86. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs.meta
  87. 14
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs
  88. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs.meta
  89. 105
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs
  90. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs.meta
  91. 238
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerAchievement.cs
  92. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerAchievement.cs.meta
  93. 113
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerStatInfo.cs
  94. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerStatInfo.cs.meta
  95. 86
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryDefinitionsOptions.cs
  96. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryDefinitionsOptions.cs.meta
  97. 66
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryPlayerAchievementsOptions.cs
  98. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryPlayerAchievementsOptions.cs.meta
  99. 98
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/StatThresholds.cs
  100. 11
      Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/StatThresholds.cs.meta

7
.gitignore

@ -0,0 +1,7 @@
*.csproj
*.sln
.idea/
Library/
Temp/
obj/
Build/

8
Assets/Plugins.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: aca9d70a723c53640893edfad332464a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 15e046de641d643429f70646b02453a0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Bin.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2842adaab55080840b6d3f8aedf0c5e3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win32-Shipping.dll

67
Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win32-Shipping.dll.meta

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 37e552ffd5895764cbbe64fd1c1d6e9c
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude GameCoreScarlett: 1
Exclude GameCoreXboxOne: 1
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude PS4: 1
Exclude PS5: 1
Exclude Win: 0
Exclude Win64: 1
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win64-Shipping.dll

67
Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win64-Shipping.dll.meta

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: a294429374be3bf4b937bb06a4a9f40c
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude GameCoreScarlett: 1
Exclude GameCoreXboxOne: 1
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude PS4: 1
Exclude PS5: 1
Exclude Win: 1
Exclude Win64: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: x86_64
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Linux-Shipping.so

67
Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Linux-Shipping.so.meta

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 0af0c9152a3b8dc4893424f561e5d4f7
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude GameCoreScarlett: 1
Exclude GameCoreXboxOne: 1
Exclude Linux64: 0
Exclude OSXUniversal: 1
Exclude PS4: 1
Exclude PS5: 1
Exclude Win: 0
Exclude Win64: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: Linux
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: x86_64
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Mac-Shipping.dylib

67
Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Mac-Shipping.dylib.meta

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 468a492e4c43c2c49836e9da5294f856
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude GameCoreScarlett: 1
Exclude GameCoreXboxOne: 1
Exclude Linux64: 1
Exclude OSXUniversal: 0
Exclude PS4: 1
Exclude PS5: 1
Exclude Win: 1
Exclude Win64: 1
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: OSX
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: x86_64
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Bin/x64.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c6642c3d07276c145b32e16a6d26a115
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Plugins/EpicOnlineServices/Bin/x64/xaudio2_9redist.dll

67
Assets/Plugins/EpicOnlineServices/Bin/x64/xaudio2_9redist.dll.meta

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 55899c20005b6cf47b0997c09a75f5d2
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude GameCoreScarlett: 1
Exclude GameCoreXboxOne: 1
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude PS4: 1
Exclude PS5: 1
Exclude Win: 1
Exclude Win64: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: x86_64
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Bin/x86.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 662a87250f5fc6c4c96b3ad8b90a4173
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Plugins/EpicOnlineServices/Bin/x86/xaudio2_9redist.dll

67
Assets/Plugins/EpicOnlineServices/Bin/x86/xaudio2_9redist.dll.meta

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 683c9f2e6702e4846887c0a65d423ea4
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude GameCoreScarlett: 1
Exclude GameCoreXboxOne: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude PS4: 1
Exclude PS5: 1
Exclude Win: 0
Exclude Win64: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Source.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: eebf0bca0daa7664d998a7e2788af9e2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Source/Core.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c623956bf4a51bb4b8d37cde92f525d0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

16
Assets/Plugins/EpicOnlineServices/Source/Core/BoxedData.cs

@ -0,0 +1,16 @@
// Copyright Epic Games, Inc. All Rights Reserved.
using System.Runtime.InteropServices;
namespace Epic.OnlineServices
{
internal sealed class BoxedData
{
public object Data { get; private set; }
public BoxedData(object data)
{
Data = data;
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/BoxedData.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 385b9a80256976b42a08bcf2262617e3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

97
Assets/Plugins/EpicOnlineServices/Source/Core/Config.cs

@ -0,0 +1,97 @@
// Copyright Epic Games, Inc. All Rights Reserved.
#if DEBUG
#define EOS_DEBUG
#endif
#if UNITY_EDITOR
#define EOS_EDITOR
#endif
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_XBOXONE || UNITY_SWITCH || UNITY_IOS || UNITY_ANDROID
#define EOS_UNITY
#endif
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || PLATFORM_64BITS || PLATFORM_32BITS
#if UNITY_EDITOR_WIN || UNITY_64 || PLATFORM_64BITS
#define EOS_PLATFORM_WINDOWS_64
#else
#define EOS_PLATFORM_WINDOWS_32
#endif
#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
#define EOS_PLATFORM_OSX
#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
#define EOS_PLATFORM_LINUX
#elif UNITY_PS4
#define EOS_PLATFORM_PS4
#elif UNITY_XBOXONE
#define EOS_PLATFORM_XBOXONE
#elif UNITY_SWITCH
#define EOS_PLATFORM_SWITCH
#elif UNITY_IOS || __IOS__
#define EOS_PLATFORM_IOS
#elif UNITY_ANDROID || __ANDROID__
#define EOS_PLATFORM_ANDROID
#endif
using System.Runtime.InteropServices;
namespace Epic.OnlineServices
{
public static class Config
{
public const string LibraryName =
#if EOS_PLATFORM_WINDOWS_32 && EOS_UNITY
"EOSSDK-Win32-Shipping"
#elif EOS_PLATFORM_WINDOWS_32
"EOSSDK-Win32-Shipping.dll"
#elif EOS_PLATFORM_WINDOWS_64 && EOS_UNITY
"EOSSDK-Win64-Shipping"
#elif EOS_PLATFORM_WINDOWS_64
"EOSSDK-Win64-Shipping.dll"
#elif EOS_PLATFORM_OSX && EOS_UNITY
"libEOSSDK-Mac-Shipping"
#elif EOS_PLATFORM_OSX
"libEOSSDK-Mac-Shipping.dylib"
#elif EOS_PLATFORM_LINUX && EOS_UNITY
"EOSSDK-Linux-Shipping"
#elif EOS_PLATFORM_LINUX
"EOSSDK-Linux-Shipping.so"
#elif EOS_PLATFORM_IOS && EOS_UNITY && !EOS_EDITOR
"__Internal"
#elif EOS_PLATFORM_IOS && EOS_UNITY
"EOSSDK"
#elif EOS_PLATFORM_IOS
"EOSSDK.framework/EOSSDK"
#elif EOS_PLATFORM_ANDROID
"EOSSDK"
#else
#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.
"EOSSDK-UnknownPlatform-Shipping"
#endif
;
public const CallingConvention LibraryCallingConvention =
#if EOS_PLATFORM_WINDOWS_32
CallingConvention.StdCall
#else
CallingConvention.Cdecl
#endif
;
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/Config.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b30289dfb2a39304a980c7918dd6758d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

70
Assets/Plugins/EpicOnlineServices/Source/Core/Handle.cs

@ -0,0 +1,70 @@
// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace Epic.OnlineServices
{
public abstract class Handle : IEquatable<Handle>
{
public IntPtr InnerHandle { get; internal set; }
public Handle()
{
}
public Handle(IntPtr innerHandle)
{
InnerHandle = innerHandle;
}
public override bool Equals(object obj)
{
return Equals(obj as Handle);
}
public override int GetHashCode()
{
return (int)(0x00010000 + InnerHandle.ToInt64());
}
public bool Equals(Handle other)
{
if (ReferenceEquals(other, null))
{
return false;
}
if (ReferenceEquals(this, other))
{
return true;
}
if (GetType() != other.GetType())
{
return false;
}
return InnerHandle == other.InnerHandle;
}
public static bool operator ==(Handle lhs, Handle rhs)
{
if (ReferenceEquals(lhs, null))
{
if (ReferenceEquals(rhs, null))
{
return true;
}
return false;
}
return lhs.Equals(rhs);
}
public static bool operator !=(Handle lhs, Handle rhs)
{
return !(lhs == rhs);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/Handle.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9f27b54ba86e20f48a255433e9e6daf7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

1441
Assets/Plugins/EpicOnlineServices/Source/Core/Helper.cs
File diff suppressed because it is too large
View File

11
Assets/Plugins/EpicOnlineServices/Source/Core/Helper.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e82d76c2eb04b8d4da718ff4ed6d602e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

27
Assets/Plugins/EpicOnlineServices/Source/Core/HelperExtensions.cs

@ -0,0 +1,27 @@
// Copyright Epic Games, Inc. All Rights Reserved.
namespace Epic.OnlineServices
{
public static class HelperExtensions
{
/// <summary>
/// Checks whether the given result indicates that the operation has completed. Some operations may callback with a result indicating that they will callback again.
/// </summary>
/// <param name="result">The result to check.</param>
/// <returns>Whether the operation has completed or not.</returns>
public static bool IsOperationComplete(this Result result)
{
return Common.IsOperationComplete(result);
}
/// <summary>
/// Converts a byte array into a hex string, e.g. "A56904FF".
/// </summary>
/// <param name="byteArray">The byte array to convert.</param>
/// <returns>A hex string, e.g. "A56904FF".</returns>
public static string ToHexString(this byte[] byteArray)
{
return Common.ToString(byteArray);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/HelperExtensions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: acb2f56eba5a1084e95584137787431a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Plugins/EpicOnlineServices/Source/Core/ICallbackInfo.cs

@ -0,0 +1,18 @@
// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace Epic.OnlineServices
{
internal interface ICallbackInfo
{
object ClientData { get; }
Result? GetResultCode();
}
internal interface ICallbackInfoInternal
{
IntPtr ClientDataAddress { get; }
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/ICallbackInfo.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6eb6b171d83200f4784690a78827098b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

9
Assets/Plugins/EpicOnlineServices/Source/Core/ISettable.cs

@ -0,0 +1,9 @@
// Copyright Epic Games, Inc. All Rights Reserved.
namespace Epic.OnlineServices
{
public interface ISettable
{
void Set(object other);
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/ISettable.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7f2fdab2210b8024fbf22030ae5ce052
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

14
Assets/Plugins/EpicOnlineServices/Source/Core/MonoPInvokeCallbackAttribute.cs

@ -0,0 +1,14 @@
// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace Epic.OnlineServices
{
[AttributeUsage(AttributeTargets.Method)]
internal sealed class MonoPInvokeCallbackAttribute : Attribute
{
public MonoPInvokeCallbackAttribute(Type type)
{
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Core/MonoPInvokeCallbackAttribute.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ceedfc2b798f3674992a336edf735a32
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Source/Generated.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b02f673e56d97c04ea3b5f7f40a2e31e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c53137f548c945849bc6fb336067666f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

668
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AchievementsInterface.cs

@ -0,0 +1,668 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
public sealed partial class AchievementsInterface : Handle
{
public AchievementsInterface()
{
}
public AchievementsInterface(System.IntPtr innerHandle) : base(innerHandle)
{
}
/// <summary>
/// Timestamp value representing an undefined UnlockTime for <see cref="PlayerAchievement" /> and <see cref="UnlockedAchievement" />
/// </summary>
public const int AchievementUnlocktimeUndefined = -1;
/// <summary>
/// The most recent version of the <see cref="AddNotifyAchievementsUnlocked" /> API.
/// </summary>
public const int AddnotifyachievementsunlockedApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="AddNotifyAchievementsUnlockedV2" /> API.
/// </summary>
public const int Addnotifyachievementsunlockedv2ApiLatest = 2;
/// <summary>
/// The most recent version of the <see cref="CopyAchievementDefinitionV2ByAchievementIdOptions" /> struct.
/// </summary>
public const int Copyachievementdefinitionv2ByachievementidApiLatest = 2;
/// <summary>
/// The most recent version of the <see cref="CopyAchievementDefinitionByIndexOptions" /> struct.
/// </summary>
public const int Copyachievementdefinitionv2ByindexApiLatest = 2;
/// <summary>
/// The most recent version of the <see cref="CopyAchievementDefinitionByAchievementIdOptions" /> struct.
/// </summary>
public const int CopydefinitionbyachievementidApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="CopyAchievementDefinitionByIndexOptions" /> struct.
/// </summary>
public const int CopydefinitionbyindexApiLatest = 1;
/// <summary>
/// DEPRECATED! Use <see cref="Copyachievementdefinitionv2ByachievementidApiLatest" /> instead.
/// </summary>
public const int Copydefinitionv2ByachievementidApiLatest = Copyachievementdefinitionv2ByachievementidApiLatest;
/// <summary>
/// DEPRECATED! Use <see cref="Copyachievementdefinitionv2ByindexApiLatest" /> instead.
/// </summary>
public const int Copydefinitionv2ByindexApiLatest = Copyachievementdefinitionv2ByindexApiLatest;
/// <summary>
/// The most recent version of the <see cref="CopyPlayerAchievementByAchievementIdOptions" /> struct.
/// </summary>
public const int CopyplayerachievementbyachievementidApiLatest = 2;
/// <summary>
/// The most recent version of the <see cref="CopyPlayerAchievementByIndexOptions" /> struct.
/// </summary>
public const int CopyplayerachievementbyindexApiLatest = 2;
/// <summary>
/// The most recent version of the <see cref="CopyUnlockedAchievementByAchievementIdOptions" /> struct.
/// </summary>
public const int CopyunlockedachievementbyachievementidApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="CopyUnlockedAchievementByIndexOptions" /> struct.
/// </summary>
public const int CopyunlockedachievementbyindexApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="Definition" /> struct.
/// </summary>
public const int DefinitionApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="DefinitionV2" /> struct.
/// </summary>
public const int Definitionv2ApiLatest = 2;
/// <summary>
/// The most recent version of the <see cref="GetAchievementDefinitionCount" /> API.
/// </summary>
public const int GetachievementdefinitioncountApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="GetPlayerAchievementCount" /> API.
/// </summary>
public const int GetplayerachievementcountApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="GetUnlockedAchievementCount" /> API.
/// </summary>
public const int GetunlockedachievementcountApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="PlayerAchievement" /> struct.
/// </summary>
public const int PlayerachievementApiLatest = 2;
public const int PlayerstatinfoApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="QueryDefinitions" /> struct.
/// </summary>
public const int QuerydefinitionsApiLatest = 3;
/// <summary>
/// The most recent version of the <see cref="QueryPlayerAchievements" /> struct.
/// </summary>
public const int QueryplayerachievementsApiLatest = 2;
/// <summary>
/// DEPRECATED! Use <see cref="StatthresholdsApiLatest" /> instead.
/// </summary>
public const int StatthresholdApiLatest = StatthresholdsApiLatest;
/// <summary>
/// The most recent version of the <see cref="StatThresholds" /> struct.
/// </summary>
public const int StatthresholdsApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="UnlockAchievements" /> struct.
/// </summary>
public const int UnlockachievementsApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="UnlockedAchievement" /> struct.
/// </summary>
public const int UnlockedachievementApiLatest = 1;
/// <summary>
/// DEPRECATED! Use <see cref="AddNotifyAchievementsUnlockedV2" /> instead.
///
/// Register to receive achievement unlocked notifications.
/// @note must call <see cref="RemoveNotifyAchievementsUnlocked" /> to remove the notification
/// <seealso cref="RemoveNotifyAchievementsUnlocked" />
/// </summary>
/// <param name="options">Structure containing information about the achievement unlocked notification</param>
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
/// <param name="notificationFn">A callback that is fired when an achievement unlocked notification for a user has been received</param>
/// <returns>
/// handle representing the registered callback
/// </returns>
public ulong AddNotifyAchievementsUnlocked(AddNotifyAchievementsUnlockedOptions options, object clientData, OnAchievementsUnlockedCallback notificationFn)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<AddNotifyAchievementsUnlockedOptionsInternal, AddNotifyAchievementsUnlockedOptions>(ref optionsAddress, options);
var clientDataAddress = System.IntPtr.Zero;
var notificationFnInternal = new OnAchievementsUnlockedCallbackInternal(OnAchievementsUnlockedCallbackInternalImplementation);
Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal);
var funcResult = Bindings.EOS_Achievements_AddNotifyAchievementsUnlocked(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal);
Helper.TryMarshalDispose(ref optionsAddress);
Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult);
return funcResult;
}
/// <summary>
/// Register to receive achievement unlocked notifications.
/// @note must call <see cref="RemoveNotifyAchievementsUnlocked" /> to remove the notification
/// <seealso cref="RemoveNotifyAchievementsUnlocked" />
/// </summary>
/// <param name="options">Structure containing information about the achievement unlocked notification</param>
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
/// <param name="notificationFn">A callback that is fired when an achievement unlocked notification for a user has been received</param>
/// <returns>
/// handle representing the registered callback
/// </returns>
public ulong AddNotifyAchievementsUnlockedV2(AddNotifyAchievementsUnlockedV2Options options, object clientData, OnAchievementsUnlockedCallbackV2 notificationFn)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<AddNotifyAchievementsUnlockedV2OptionsInternal, AddNotifyAchievementsUnlockedV2Options>(ref optionsAddress, options);
var clientDataAddress = System.IntPtr.Zero;
var notificationFnInternal = new OnAchievementsUnlockedCallbackV2Internal(OnAchievementsUnlockedCallbackV2InternalImplementation);
Helper.AddCallback(ref clientDataAddress, clientData, notificationFn, notificationFnInternal);
var funcResult = Bindings.EOS_Achievements_AddNotifyAchievementsUnlockedV2(InnerHandle, optionsAddress, clientDataAddress, notificationFnInternal);
Helper.TryMarshalDispose(ref optionsAddress);
Helper.TryAssignNotificationIdToCallback(clientDataAddress, funcResult);
return funcResult;
}
/// <summary>
/// DEPRECATED! Use <see cref="CopyAchievementDefinitionV2ByAchievementId" /> instead.
///
/// Fetches an achievement definition from a given achievement ID.
/// <seealso cref="Release" />
/// <seealso cref="CopyAchievementDefinitionV2ByAchievementId" />
/// </summary>
/// <param name="options">Structure containing the achievement ID being accessed</param>
/// <param name="outDefinition">The achievement definition for the given achievement ID, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutDefinition
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the achievement definition is not found
/// </returns>
public Result CopyAchievementDefinitionByAchievementId(CopyAchievementDefinitionByAchievementIdOptions options, out Definition outDefinition)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyAchievementDefinitionByAchievementIdOptionsInternal, CopyAchievementDefinitionByAchievementIdOptions>(ref optionsAddress, options);
var outDefinitionAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionByAchievementId(InnerHandle, optionsAddress, ref outDefinitionAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<DefinitionInternal, Definition>(outDefinitionAddress, out outDefinition))
{
Bindings.EOS_Achievements_Definition_Release(outDefinitionAddress);
}
return funcResult;
}
/// <summary>
/// DEPRECATED! Use <see cref="CopyAchievementDefinitionV2ByIndex" /> instead.
///
/// Fetches an achievement definition from a given index.
/// <seealso cref="CopyAchievementDefinitionV2ByIndex" />
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the index being accessed</param>
/// <param name="outDefinition">The achievement definition for the given index, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutDefinition
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the achievement definition is not found
/// </returns>
public Result CopyAchievementDefinitionByIndex(CopyAchievementDefinitionByIndexOptions options, out Definition outDefinition)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyAchievementDefinitionByIndexOptionsInternal, CopyAchievementDefinitionByIndexOptions>(ref optionsAddress, options);
var outDefinitionAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionByIndex(InnerHandle, optionsAddress, ref outDefinitionAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<DefinitionInternal, Definition>(outDefinitionAddress, out outDefinition))
{
Bindings.EOS_Achievements_Definition_Release(outDefinitionAddress);
}
return funcResult;
}
/// <summary>
/// Fetches an achievement definition from a given achievement ID.
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the achievement ID being accessed</param>
/// <param name="outDefinition">The achievement definition for the given achievement ID, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutDefinition
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the achievement definition is not found
/// <see cref="Result.InvalidProductUserID" /> if any of the userid options are incorrect
/// </returns>
public Result CopyAchievementDefinitionV2ByAchievementId(CopyAchievementDefinitionV2ByAchievementIdOptions options, out DefinitionV2 outDefinition)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyAchievementDefinitionV2ByAchievementIdOptionsInternal, CopyAchievementDefinitionV2ByAchievementIdOptions>(ref optionsAddress, options);
var outDefinitionAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId(InnerHandle, optionsAddress, ref outDefinitionAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<DefinitionV2Internal, DefinitionV2>(outDefinitionAddress, out outDefinition))
{
Bindings.EOS_Achievements_DefinitionV2_Release(outDefinitionAddress);
}
return funcResult;
}
/// <summary>
/// Fetches an achievement definition from a given index.
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the index being accessed</param>
/// <param name="outDefinition">The achievement definition for the given index, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutDefinition
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the achievement definition is not found
/// <see cref="Result.InvalidProductUserID" /> if any of the userid options are incorrect
/// </returns>
public Result CopyAchievementDefinitionV2ByIndex(CopyAchievementDefinitionV2ByIndexOptions options, out DefinitionV2 outDefinition)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyAchievementDefinitionV2ByIndexOptionsInternal, CopyAchievementDefinitionV2ByIndexOptions>(ref optionsAddress, options);
var outDefinitionAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyAchievementDefinitionV2ByIndex(InnerHandle, optionsAddress, ref outDefinitionAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<DefinitionV2Internal, DefinitionV2>(outDefinitionAddress, out outDefinition))
{
Bindings.EOS_Achievements_DefinitionV2_Release(outDefinitionAddress);
}
return funcResult;
}
/// <summary>
/// Fetches a player achievement from a given achievement ID.
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the Epic Online Services Account ID and achievement ID being accessed</param>
/// <param name="outAchievement">The player achievement data for the given achievement ID, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutAchievement
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the player achievement is not found
/// <see cref="Result.InvalidProductUserID" /> if you pass an invalid user ID
/// </returns>
public Result CopyPlayerAchievementByAchievementId(CopyPlayerAchievementByAchievementIdOptions options, out PlayerAchievement outAchievement)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyPlayerAchievementByAchievementIdOptionsInternal, CopyPlayerAchievementByAchievementIdOptions>(ref optionsAddress, options);
var outAchievementAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyPlayerAchievementByAchievementId(InnerHandle, optionsAddress, ref outAchievementAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<PlayerAchievementInternal, PlayerAchievement>(outAchievementAddress, out outAchievement))
{
Bindings.EOS_Achievements_PlayerAchievement_Release(outAchievementAddress);
}
return funcResult;
}
/// <summary>
/// Fetches a player achievement from a given index.
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the Epic Online Services Account ID and index being accessed</param>
/// <param name="outAchievement">The player achievement data for the given index, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutAchievement
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the player achievement is not found
/// <see cref="Result.InvalidProductUserID" /> if you pass an invalid user ID
/// </returns>
public Result CopyPlayerAchievementByIndex(CopyPlayerAchievementByIndexOptions options, out PlayerAchievement outAchievement)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyPlayerAchievementByIndexOptionsInternal, CopyPlayerAchievementByIndexOptions>(ref optionsAddress, options);
var outAchievementAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyPlayerAchievementByIndex(InnerHandle, optionsAddress, ref outAchievementAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<PlayerAchievementInternal, PlayerAchievement>(outAchievementAddress, out outAchievement))
{
Bindings.EOS_Achievements_PlayerAchievement_Release(outAchievementAddress);
}
return funcResult;
}
/// <summary>
/// DEPRECATED! Use <see cref="CopyPlayerAchievementByAchievementId" /> instead.
///
/// Fetches an unlocked achievement from a given achievement ID.
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the Epic Online Services Account ID and achievement ID being accessed</param>
/// <param name="outAchievement">The unlocked achievement data for the given achievement ID, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutAchievement
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the unlocked achievement is not found
/// </returns>
public Result CopyUnlockedAchievementByAchievementId(CopyUnlockedAchievementByAchievementIdOptions options, out UnlockedAchievement outAchievement)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyUnlockedAchievementByAchievementIdOptionsInternal, CopyUnlockedAchievementByAchievementIdOptions>(ref optionsAddress, options);
var outAchievementAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyUnlockedAchievementByAchievementId(InnerHandle, optionsAddress, ref outAchievementAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<UnlockedAchievementInternal, UnlockedAchievement>(outAchievementAddress, out outAchievement))
{
Bindings.EOS_Achievements_UnlockedAchievement_Release(outAchievementAddress);
}
return funcResult;
}
/// <summary>
/// DEPRECATED! Use <see cref="CopyPlayerAchievementByAchievementId" /> instead.
///
/// Fetches an unlocked achievement from a given index.
/// <seealso cref="Release" />
/// </summary>
/// <param name="options">Structure containing the Epic Online Services Account ID and index being accessed</param>
/// <param name="outAchievement">The unlocked achievement data for the given index, if it exists and is valid, use <see cref="Release" /> when finished</param>
/// <returns>
/// <see cref="Result.Success" /> if the information is available and passed out in OutAchievement
/// <see cref="Result.InvalidParameters" /> if you pass a null pointer for the out parameter
/// <see cref="Result.NotFound" /> if the unlocked achievement is not found
/// </returns>
public Result CopyUnlockedAchievementByIndex(CopyUnlockedAchievementByIndexOptions options, out UnlockedAchievement outAchievement)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<CopyUnlockedAchievementByIndexOptionsInternal, CopyUnlockedAchievementByIndexOptions>(ref optionsAddress, options);
var outAchievementAddress = System.IntPtr.Zero;
var funcResult = Bindings.EOS_Achievements_CopyUnlockedAchievementByIndex(InnerHandle, optionsAddress, ref outAchievementAddress);
Helper.TryMarshalDispose(ref optionsAddress);
if (Helper.TryMarshalGet<UnlockedAchievementInternal, UnlockedAchievement>(outAchievementAddress, out outAchievement))
{
Bindings.EOS_Achievements_UnlockedAchievement_Release(outAchievementAddress);
}
return funcResult;
}
/// <summary>
/// Fetch the number of achievement definitions that are cached locally.
/// <seealso cref="CopyAchievementDefinitionByIndex" />
/// </summary>
/// <param name="options">The Options associated with retrieving the achievement definition count</param>
/// <returns>
/// Number of achievement definitions or 0 if there is an error
/// </returns>
public uint GetAchievementDefinitionCount(GetAchievementDefinitionCountOptions options)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<GetAchievementDefinitionCountOptionsInternal, GetAchievementDefinitionCountOptions>(ref optionsAddress, options);
var funcResult = Bindings.EOS_Achievements_GetAchievementDefinitionCount(InnerHandle, optionsAddress);
Helper.TryMarshalDispose(ref optionsAddress);
return funcResult;
}
/// <summary>
/// Fetch the number of player achievements that are cached locally.
/// <seealso cref="CopyPlayerAchievementByIndex" />
/// </summary>
/// <param name="options">The Options associated with retrieving the player achievement count</param>
/// <returns>
/// Number of player achievements or 0 if there is an error
/// </returns>
public uint GetPlayerAchievementCount(GetPlayerAchievementCountOptions options)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<GetPlayerAchievementCountOptionsInternal, GetPlayerAchievementCountOptions>(ref optionsAddress, options);
var funcResult = Bindings.EOS_Achievements_GetPlayerAchievementCount(InnerHandle, optionsAddress);
Helper.TryMarshalDispose(ref optionsAddress);
return funcResult;
}
/// <summary>
/// DEPRECATED! Use <see cref="GetPlayerAchievementCount" />, <see cref="CopyPlayerAchievementByIndex" /> and filter for unlocked instead.
///
/// Fetch the number of unlocked achievements that are cached locally.
/// <seealso cref="CopyUnlockedAchievementByIndex" />
/// </summary>
/// <param name="options">The Options associated with retrieving the unlocked achievement count</param>
/// <returns>
/// Number of unlocked achievements or 0 if there is an error
/// </returns>
public uint GetUnlockedAchievementCount(GetUnlockedAchievementCountOptions options)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<GetUnlockedAchievementCountOptionsInternal, GetUnlockedAchievementCountOptions>(ref optionsAddress, options);
var funcResult = Bindings.EOS_Achievements_GetUnlockedAchievementCount(InnerHandle, optionsAddress);
Helper.TryMarshalDispose(ref optionsAddress);
return funcResult;
}
/// <summary>
/// Query for a list of definitions for all existing achievements, including localized text, icon IDs and whether an achievement is hidden.
///
/// @note When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see <see cref="Platform.PlatformFlags.DisableSocialOverlay" />).
/// </summary>
/// <param name="options">Structure containing information about the application whose achievement definitions we're retrieving.</param>
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
/// <param name="completionDelegate">This function is called when the query definitions operation completes.</param>
/// <returns>
/// <see cref="Result.Success" /> if the operation completes successfully
/// <see cref="Result.InvalidParameters" /> if any of the options are incorrect
/// </returns>
public void QueryDefinitions(QueryDefinitionsOptions options, object clientData, OnQueryDefinitionsCompleteCallback completionDelegate)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<QueryDefinitionsOptionsInternal, QueryDefinitionsOptions>(ref optionsAddress, options);
var clientDataAddress = System.IntPtr.Zero;
var completionDelegateInternal = new OnQueryDefinitionsCompleteCallbackInternal(OnQueryDefinitionsCompleteCallbackInternalImplementation);
Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal);
Bindings.EOS_Achievements_QueryDefinitions(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal);
Helper.TryMarshalDispose(ref optionsAddress);
}
/// <summary>
/// Query for a list of achievements for a specific player, including progress towards completion for each achievement.
///
/// @note When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see <see cref="Platform.PlatformFlags.DisableSocialOverlay" />).
/// </summary>
/// <param name="options">Structure containing information about the player whose achievements we're retrieving.</param>
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
/// <param name="completionDelegate">This function is called when the query player achievements operation completes.</param>
/// <returns>
/// <see cref="Result.Success" /> if the operation completes successfully
/// <see cref="Result.InvalidProductUserID" /> if any of the userid options are incorrect
/// <see cref="Result.InvalidParameters" /> if any of the other options are incorrect
/// </returns>
public void QueryPlayerAchievements(QueryPlayerAchievementsOptions options, object clientData, OnQueryPlayerAchievementsCompleteCallback completionDelegate)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<QueryPlayerAchievementsOptionsInternal, QueryPlayerAchievementsOptions>(ref optionsAddress, options);
var clientDataAddress = System.IntPtr.Zero;
var completionDelegateInternal = new OnQueryPlayerAchievementsCompleteCallbackInternal(OnQueryPlayerAchievementsCompleteCallbackInternalImplementation);
Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal);
Bindings.EOS_Achievements_QueryPlayerAchievements(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal);
Helper.TryMarshalDispose(ref optionsAddress);
}
/// <summary>
/// Unregister from receiving achievement unlocked notifications.
/// <seealso cref="AddNotifyAchievementsUnlocked" />
/// </summary>
/// <param name="inId">Handle representing the registered callback</param>
public void RemoveNotifyAchievementsUnlocked(ulong inId)
{
Helper.TryRemoveCallbackByNotificationId(inId);
Bindings.EOS_Achievements_RemoveNotifyAchievementsUnlocked(InnerHandle, inId);
}
/// <summary>
/// Unlocks a number of achievements for a specific player.
/// </summary>
/// <param name="options">Structure containing information about the achievements and the player whose achievements we're unlocking.</param>
/// <param name="clientData">Arbitrary data that is passed back to you in the CompletionDelegate</param>
/// <param name="completionDelegate">This function is called when the unlock achievements operation completes.</param>
/// <returns>
/// <see cref="Result.Success" /> if the operation completes successfully
/// <see cref="Result.InvalidParameters" /> if any of the options are incorrect
/// </returns>
public void UnlockAchievements(UnlockAchievementsOptions options, object clientData, OnUnlockAchievementsCompleteCallback completionDelegate)
{
var optionsAddress = System.IntPtr.Zero;
Helper.TryMarshalSet<UnlockAchievementsOptionsInternal, UnlockAchievementsOptions>(ref optionsAddress, options);
var clientDataAddress = System.IntPtr.Zero;
var completionDelegateInternal = new OnUnlockAchievementsCompleteCallbackInternal(OnUnlockAchievementsCompleteCallbackInternalImplementation);
Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal);
Bindings.EOS_Achievements_UnlockAchievements(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal);
Helper.TryMarshalDispose(ref optionsAddress);
}
[MonoPInvokeCallback(typeof(OnAchievementsUnlockedCallbackInternal))]
internal static void OnAchievementsUnlockedCallbackInternalImplementation(System.IntPtr data)
{
OnAchievementsUnlockedCallback callback;
OnAchievementsUnlockedCallbackInfo callbackInfo;
if (Helper.TryGetAndRemoveCallback<OnAchievementsUnlockedCallback, OnAchievementsUnlockedCallbackInfoInternal, OnAchievementsUnlockedCallbackInfo>(data, out callback, out callbackInfo))
{
callback(callbackInfo);
}
}
[MonoPInvokeCallback(typeof(OnAchievementsUnlockedCallbackV2Internal))]
internal static void OnAchievementsUnlockedCallbackV2InternalImplementation(System.IntPtr data)
{
OnAchievementsUnlockedCallbackV2 callback;
OnAchievementsUnlockedCallbackV2Info callbackInfo;
if (Helper.TryGetAndRemoveCallback<OnAchievementsUnlockedCallbackV2, OnAchievementsUnlockedCallbackV2InfoInternal, OnAchievementsUnlockedCallbackV2Info>(data, out callback, out callbackInfo))
{
callback(callbackInfo);
}
}
[MonoPInvokeCallback(typeof(OnQueryDefinitionsCompleteCallbackInternal))]
internal static void OnQueryDefinitionsCompleteCallbackInternalImplementation(System.IntPtr data)
{
OnQueryDefinitionsCompleteCallback callback;
OnQueryDefinitionsCompleteCallbackInfo callbackInfo;
if (Helper.TryGetAndRemoveCallback<OnQueryDefinitionsCompleteCallback, OnQueryDefinitionsCompleteCallbackInfoInternal, OnQueryDefinitionsCompleteCallbackInfo>(data, out callback, out callbackInfo))
{
callback(callbackInfo);
}
}
[MonoPInvokeCallback(typeof(OnQueryPlayerAchievementsCompleteCallbackInternal))]
internal static void OnQueryPlayerAchievementsCompleteCallbackInternalImplementation(System.IntPtr data)
{
OnQueryPlayerAchievementsCompleteCallback callback;
OnQueryPlayerAchievementsCompleteCallbackInfo callbackInfo;
if (Helper.TryGetAndRemoveCallback<OnQueryPlayerAchievementsCompleteCallback, OnQueryPlayerAchievementsCompleteCallbackInfoInternal, OnQueryPlayerAchievementsCompleteCallbackInfo>(data, out callback, out callbackInfo))
{
callback(callbackInfo);
}
}
[MonoPInvokeCallback(typeof(OnUnlockAchievementsCompleteCallbackInternal))]
internal static void OnUnlockAchievementsCompleteCallbackInternalImplementation(System.IntPtr data)
{
OnUnlockAchievementsCompleteCallback callback;
OnUnlockAchievementsCompleteCallbackInfo callbackInfo;
if (Helper.TryGetAndRemoveCallback<OnUnlockAchievementsCompleteCallback, OnUnlockAchievementsCompleteCallbackInfoInternal, OnUnlockAchievementsCompleteCallbackInfo>(data, out callback, out callbackInfo))
{
callback(callbackInfo);
}
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AchievementsInterface.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e10e035c629ec9a4e80c07bab252ab22
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

35
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs

@ -0,0 +1,35 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.AddNotifyAchievementsUnlocked" /> function.
/// </summary>
public class AddNotifyAchievementsUnlockedOptions
{
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct AddNotifyAchievementsUnlockedOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
public void Set(AddNotifyAchievementsUnlockedOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.AddnotifyachievementsunlockedApiLatest;
}
}
public void Set(object other)
{
Set(other as AddNotifyAchievementsUnlockedOptions);
}
public void Dispose()
{
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b8297c6fc51a96d43b3ed67e695d4157
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

35
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs

@ -0,0 +1,35 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.AddNotifyAchievementsUnlocked" /> function.
/// </summary>
public class AddNotifyAchievementsUnlockedV2Options
{
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct AddNotifyAchievementsUnlockedV2OptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
public void Set(AddNotifyAchievementsUnlockedV2Options other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.Addnotifyachievementsunlockedv2ApiLatest;
}
}
public void Set(object other)
{
Set(other as AddNotifyAchievementsUnlockedV2Options);
}
public void Dispose()
{
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/AddNotifyAchievementsUnlockedV2Options.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4cb753f9f5870d440bf6e41d4b8fedf2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

50
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs

@ -0,0 +1,50 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyAchievementDefinitionByAchievementId" /> function.
/// </summary>
public class CopyAchievementDefinitionByAchievementIdOptions
{
/// <summary>
/// Achievement ID to look for when copying definition from the cache
/// </summary>
public string AchievementId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyAchievementDefinitionByAchievementIdOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AchievementId;
public string AchievementId
{
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public void Set(CopyAchievementDefinitionByAchievementIdOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.CopydefinitionbyachievementidApiLatest;
AchievementId = other.AchievementId;
}
}
public void Set(object other)
{
Set(other as CopyAchievementDefinitionByAchievementIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AchievementId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByAchievementIdOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 26b8466a49e727343b2faf5e600bdcc4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

49
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs

@ -0,0 +1,49 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyAchievementDefinitionByIndex" /> function.
/// </summary>
public class CopyAchievementDefinitionByIndexOptions
{
/// <summary>
/// Index of the achievement definition to retrieve from the cache
/// </summary>
public uint AchievementIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyAchievementDefinitionByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private uint m_AchievementIndex;
public uint AchievementIndex
{
set
{
m_AchievementIndex = value;
}
}
public void Set(CopyAchievementDefinitionByIndexOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.CopydefinitionbyindexApiLatest;
AchievementIndex = other.AchievementIndex;
}
}
public void Set(object other)
{
Set(other as CopyAchievementDefinitionByIndexOptions);
}
public void Dispose()
{
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionByIndexOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9159dea0a19015e4fa0c7724cc09672d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

50
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs

@ -0,0 +1,50 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyAchievementDefinitionV2ByAchievementId" /> function.
/// </summary>
public class CopyAchievementDefinitionV2ByAchievementIdOptions
{
/// <summary>
/// Achievement ID to look for when copying the definition from the cache.
/// </summary>
public string AchievementId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyAchievementDefinitionV2ByAchievementIdOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AchievementId;
public string AchievementId
{
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public void Set(CopyAchievementDefinitionV2ByAchievementIdOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByachievementidApiLatest;
AchievementId = other.AchievementId;
}
}
public void Set(object other)
{
Set(other as CopyAchievementDefinitionV2ByAchievementIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AchievementId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByAchievementIdOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 93d9eea0788a79042ba7859d0aa62034
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

49
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs

@ -0,0 +1,49 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyAchievementDefinitionByIndex" /> function.
/// </summary>
public class CopyAchievementDefinitionV2ByIndexOptions
{
/// <summary>
/// Index of the achievement definition to retrieve from the cache.
/// </summary>
public uint AchievementIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyAchievementDefinitionV2ByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private uint m_AchievementIndex;
public uint AchievementIndex
{
set
{
m_AchievementIndex = value;
}
}
public void Set(CopyAchievementDefinitionV2ByIndexOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByindexApiLatest;
AchievementIndex = other.AchievementIndex;
}
}
public void Set(object other)
{
Set(other as CopyAchievementDefinitionV2ByIndexOptions);
}
public void Dispose()
{
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyAchievementDefinitionV2ByIndexOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b5c453f979d23fd4a9143253f1ab5db2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

82
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs

@ -0,0 +1,82 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyPlayerAchievementByAchievementId" /> function.
/// </summary>
public class CopyPlayerAchievementByAchievementIdOptions
{
/// <summary>
/// The Product User ID for the user whose achievement is to be retrieved.
/// </summary>
public ProductUserId TargetUserId { get; set; }
/// <summary>
/// Achievement ID to search for when retrieving player achievement data from the cache.
/// </summary>
public string AchievementId { get; set; }
/// <summary>
/// The Product User ID for the user who is querying for a player achievement. For a Dedicated Server this should be null.
/// </summary>
public ProductUserId LocalUserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyPlayerAchievementByAchievementIdOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_TargetUserId;
private System.IntPtr m_AchievementId;
private System.IntPtr m_LocalUserId;
public ProductUserId TargetUserId
{
set
{
Helper.TryMarshalSet(ref m_TargetUserId, value);
}
}
public string AchievementId
{
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public ProductUserId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public void Set(CopyPlayerAchievementByAchievementIdOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.CopyplayerachievementbyachievementidApiLatest;
TargetUserId = other.TargetUserId;
AchievementId = other.AchievementId;
LocalUserId = other.LocalUserId;
}
}
public void Set(object other)
{
Set(other as CopyPlayerAchievementByAchievementIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_TargetUserId);
Helper.TryMarshalDispose(ref m_AchievementId);
Helper.TryMarshalDispose(ref m_LocalUserId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByAchievementIdOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8e464fa7af4437b429fbd09d28dd8052
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

81
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs

@ -0,0 +1,81 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyPlayerAchievementByIndex" /> function.
/// </summary>
public class CopyPlayerAchievementByIndexOptions
{
/// <summary>
/// The Product User ID for the user whose achievement is to be retrieved.
/// </summary>
public ProductUserId TargetUserId { get; set; }
/// <summary>
/// The index of the player achievement data to retrieve from the cache.
/// </summary>
public uint AchievementIndex { get; set; }
/// <summary>
/// The Product User ID for the user who is querying for a player achievement. For a Dedicated Server this should be null.
/// </summary>
public ProductUserId LocalUserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyPlayerAchievementByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_TargetUserId;
private uint m_AchievementIndex;
private System.IntPtr m_LocalUserId;
public ProductUserId TargetUserId
{
set
{
Helper.TryMarshalSet(ref m_TargetUserId, value);
}
}
public uint AchievementIndex
{
set
{
m_AchievementIndex = value;
}
}
public ProductUserId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public void Set(CopyPlayerAchievementByIndexOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.CopyplayerachievementbyindexApiLatest;
TargetUserId = other.TargetUserId;
AchievementIndex = other.AchievementIndex;
LocalUserId = other.LocalUserId;
}
}
public void Set(object other)
{
Set(other as CopyPlayerAchievementByIndexOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_TargetUserId);
Helper.TryMarshalDispose(ref m_LocalUserId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyPlayerAchievementByIndexOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 42f2129437eac074d97c4e3fa5ce8e80
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

66
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs

@ -0,0 +1,66 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyUnlockedAchievementByAchievementId" /> function.
/// </summary>
public class CopyUnlockedAchievementByAchievementIdOptions
{
/// <summary>
/// The Product User ID for the user who is copying the unlocked achievement
/// </summary>
public ProductUserId UserId { get; set; }
/// <summary>
/// AchievementId of the unlocked achievement to retrieve from the cache
/// </summary>
public string AchievementId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyUnlockedAchievementByAchievementIdOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_UserId;
private System.IntPtr m_AchievementId;
public ProductUserId UserId
{
set
{
Helper.TryMarshalSet(ref m_UserId, value);
}
}
public string AchievementId
{
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public void Set(CopyUnlockedAchievementByAchievementIdOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyachievementidApiLatest;
UserId = other.UserId;
AchievementId = other.AchievementId;
}
}
public void Set(object other)
{
Set(other as CopyUnlockedAchievementByAchievementIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_UserId);
Helper.TryMarshalDispose(ref m_AchievementId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByAchievementIdOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 46d428c7c525d64488433ce7b9d1f1ec
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

65
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs

@ -0,0 +1,65 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.CopyUnlockedAchievementByIndex" /> function.
/// </summary>
public class CopyUnlockedAchievementByIndexOptions
{
/// <summary>
/// The Product User ID for the user who is copying the unlocked achievement
/// </summary>
public ProductUserId UserId { get; set; }
/// <summary>
/// Index of the unlocked achievement to retrieve from the cache
/// </summary>
public uint AchievementIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyUnlockedAchievementByIndexOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_UserId;
private uint m_AchievementIndex;
public ProductUserId UserId
{
set
{
Helper.TryMarshalSet(ref m_UserId, value);
}
}
public uint AchievementIndex
{
set
{
m_AchievementIndex = value;
}
}
public void Set(CopyUnlockedAchievementByIndexOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyindexApiLatest;
UserId = other.UserId;
AchievementIndex = other.AchievementIndex;
}
}
public void Set(object other)
{
Set(other as CopyUnlockedAchievementByIndexOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_UserId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/CopyUnlockedAchievementByIndexOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e59e52f7728016140b1961fe4288c4bd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

310
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/Definition.cs

@ -0,0 +1,310 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Contains information about a single achievement definition with localized text.
/// </summary>
public class Definition : ISettable
{
/// <summary>
/// Achievement ID that can be used to uniquely identify the achievement.
/// </summary>
public string AchievementId { get; set; }
/// <summary>
/// Text representing the Name to display in-game when achievement has been unlocked.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Text representing the description to display in-game when achievement has been unlocked.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Text representing the name to display in-game when achievement is locked.
/// </summary>
public string LockedDisplayName { get; set; }
/// <summary>
/// Text representing the description of what needs to be done to trigger the unlock of this achievement.
/// </summary>
public string LockedDescription { get; set; }
/// <summary>
/// Text representing the description to display in-game when achievement is hidden.
/// </summary>
public string HiddenDescription { get; set; }
/// <summary>
/// Text representing the description of what happens when the achievement is unlocked.
/// </summary>
public string CompletionDescription { get; set; }
/// <summary>
/// Text representing the icon to display in-game when achievement is unlocked.
/// </summary>
public string UnlockedIconId { get; set; }
/// <summary>
/// Text representing the icon to display in-game when achievement is locked.
/// </summary>
public string LockedIconId { get; set; }
/// <summary>
/// True if achievement is hidden, false otherwise.
/// </summary>
public bool IsHidden { get; set; }
/// <summary>
/// Array of stat thresholds that need to be satisfied to unlock the achievement.
/// </summary>
public StatThresholds[] StatThresholds { get; set; }
internal void Set(DefinitionInternal? other)
{
if (other != null)
{
AchievementId = other.Value.AchievementId;
DisplayName = other.Value.DisplayName;
Description = other.Value.Description;
LockedDisplayName = other.Value.LockedDisplayName;
LockedDescription = other.Value.LockedDescription;
HiddenDescription = other.Value.HiddenDescription;
CompletionDescription = other.Value.CompletionDescription;
UnlockedIconId = other.Value.UnlockedIconId;
LockedIconId = other.Value.LockedIconId;
IsHidden = other.Value.IsHidden;
StatThresholds = other.Value.StatThresholds;
}
}
public void Set(object other)
{
Set(other as DefinitionInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct DefinitionInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AchievementId;
private System.IntPtr m_DisplayName;
private System.IntPtr m_Description;
private System.IntPtr m_LockedDisplayName;
private System.IntPtr m_LockedDescription;
private System.IntPtr m_HiddenDescription;
private System.IntPtr m_CompletionDescription;
private System.IntPtr m_UnlockedIconId;
private System.IntPtr m_LockedIconId;
private int m_IsHidden;
private int m_StatThresholdsCount;
private System.IntPtr m_StatThresholds;
public string AchievementId
{
get
{
string value;
Helper.TryMarshalGet(m_AchievementId, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public string DisplayName
{
get
{
string value;
Helper.TryMarshalGet(m_DisplayName, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_DisplayName, value);
}
}
public string Description
{
get
{
string value;
Helper.TryMarshalGet(m_Description, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_Description, value);
}
}
public string LockedDisplayName
{
get
{
string value;
Helper.TryMarshalGet(m_LockedDisplayName, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_LockedDisplayName, value);
}
}
public string LockedDescription
{
get
{
string value;
Helper.TryMarshalGet(m_LockedDescription, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_LockedDescription, value);
}
}
public string HiddenDescription
{
get
{
string value;
Helper.TryMarshalGet(m_HiddenDescription, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_HiddenDescription, value);
}
}
public string CompletionDescription
{
get
{
string value;
Helper.TryMarshalGet(m_CompletionDescription, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_CompletionDescription, value);
}
}
public string UnlockedIconId
{
get
{
string value;
Helper.TryMarshalGet(m_UnlockedIconId, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_UnlockedIconId, value);
}
}
public string LockedIconId
{
get
{
string value;
Helper.TryMarshalGet(m_LockedIconId, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_LockedIconId, value);
}
}
public bool IsHidden
{
get
{
bool value;
Helper.TryMarshalGet(m_IsHidden, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_IsHidden, value);
}
}
public StatThresholds[] StatThresholds
{
get
{
StatThresholds[] value;
Helper.TryMarshalGet<StatThresholdsInternal, StatThresholds>(m_StatThresholds, out value, m_StatThresholdsCount);
return value;
}
set
{
Helper.TryMarshalSet<StatThresholdsInternal, StatThresholds>(ref m_StatThresholds, value, out m_StatThresholdsCount);
}
}
public void Set(Definition other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.DefinitionApiLatest;
AchievementId = other.AchievementId;
DisplayName = other.DisplayName;
Description = other.Description;
LockedDisplayName = other.LockedDisplayName;
LockedDescription = other.LockedDescription;
HiddenDescription = other.HiddenDescription;
CompletionDescription = other.CompletionDescription;
UnlockedIconId = other.UnlockedIconId;
LockedIconId = other.LockedIconId;
IsHidden = other.IsHidden;
StatThresholds = other.StatThresholds;
}
}
public void Set(object other)
{
Set(other as Definition);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AchievementId);
Helper.TryMarshalDispose(ref m_DisplayName);
Helper.TryMarshalDispose(ref m_Description);
Helper.TryMarshalDispose(ref m_LockedDisplayName);
Helper.TryMarshalDispose(ref m_LockedDescription);
Helper.TryMarshalDispose(ref m_HiddenDescription);
Helper.TryMarshalDispose(ref m_CompletionDescription);
Helper.TryMarshalDispose(ref m_UnlockedIconId);
Helper.TryMarshalDispose(ref m_LockedIconId);
Helper.TryMarshalDispose(ref m_StatThresholds);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/Definition.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ccbd393f5c37b764d8c0316271a667f9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

286
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/DefinitionV2.cs

@ -0,0 +1,286 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Contains information about a single achievement definition with localized text.
/// </summary>
public class DefinitionV2 : ISettable
{
/// <summary>
/// Achievement ID that can be used to uniquely identify the achievement.
/// </summary>
public string AchievementId { get; set; }
/// <summary>
/// Localized display name for the achievement when it has been unlocked.
/// </summary>
public string UnlockedDisplayName { get; set; }
/// <summary>
/// Localized description for the achievement when it has been unlocked.
/// </summary>
public string UnlockedDescription { get; set; }
/// <summary>
/// Localized display name for the achievement when it is locked or hidden.
/// </summary>
public string LockedDisplayName { get; set; }
/// <summary>
/// Localized description for the achievement when it is locked or hidden.
/// </summary>
public string LockedDescription { get; set; }
/// <summary>
/// Localized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal.
/// </summary>
public string FlavorText { get; set; }
/// <summary>
/// URL of an icon to display for the achievement when it is unlocked. This may be null if there is no data configured in the dev portal.
/// </summary>
public string UnlockedIconURL { get; set; }
/// <summary>
/// URL of an icon to display for the achievement when it is locked or hidden. This may be null if there is no data configured in the dev portal.
/// </summary>
public string LockedIconURL { get; set; }
/// <summary>
/// true if the achievement is hidden; false otherwise.
/// </summary>
public bool IsHidden { get; set; }
/// <summary>
/// Array of `<see cref="StatThresholds" />` that need to be satisfied to unlock this achievement. Consists of Name and Threshold Value.
/// </summary>
public StatThresholds[] StatThresholds { get; set; }
internal void Set(DefinitionV2Internal? other)
{
if (other != null)
{
AchievementId = other.Value.AchievementId;
UnlockedDisplayName = other.Value.UnlockedDisplayName;
UnlockedDescription = other.Value.UnlockedDescription;
LockedDisplayName = other.Value.LockedDisplayName;
LockedDescription = other.Value.LockedDescription;
FlavorText = other.Value.FlavorText;
UnlockedIconURL = other.Value.UnlockedIconURL;
LockedIconURL = other.Value.LockedIconURL;
IsHidden = other.Value.IsHidden;
StatThresholds = other.Value.StatThresholds;
}
}
public void Set(object other)
{
Set(other as DefinitionV2Internal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct DefinitionV2Internal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AchievementId;
private System.IntPtr m_UnlockedDisplayName;
private System.IntPtr m_UnlockedDescription;
private System.IntPtr m_LockedDisplayName;
private System.IntPtr m_LockedDescription;
private System.IntPtr m_FlavorText;
private System.IntPtr m_UnlockedIconURL;
private System.IntPtr m_LockedIconURL;
private int m_IsHidden;
private uint m_StatThresholdsCount;
private System.IntPtr m_StatThresholds;
public string AchievementId
{
get
{
string value;
Helper.TryMarshalGet(m_AchievementId, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public string UnlockedDisplayName
{
get
{
string value;
Helper.TryMarshalGet(m_UnlockedDisplayName, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_UnlockedDisplayName, value);
}
}
public string UnlockedDescription
{
get
{
string value;
Helper.TryMarshalGet(m_UnlockedDescription, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_UnlockedDescription, value);
}
}
public string LockedDisplayName
{
get
{
string value;
Helper.TryMarshalGet(m_LockedDisplayName, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_LockedDisplayName, value);
}
}
public string LockedDescription
{
get
{
string value;
Helper.TryMarshalGet(m_LockedDescription, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_LockedDescription, value);
}
}
public string FlavorText
{
get
{
string value;
Helper.TryMarshalGet(m_FlavorText, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_FlavorText, value);
}
}
public string UnlockedIconURL
{
get
{
string value;
Helper.TryMarshalGet(m_UnlockedIconURL, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_UnlockedIconURL, value);
}
}
public string LockedIconURL
{
get
{
string value;
Helper.TryMarshalGet(m_LockedIconURL, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_LockedIconURL, value);
}
}
public bool IsHidden
{
get
{
bool value;
Helper.TryMarshalGet(m_IsHidden, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_IsHidden, value);
}
}
public StatThresholds[] StatThresholds
{
get
{
StatThresholds[] value;
Helper.TryMarshalGet<StatThresholdsInternal, StatThresholds>(m_StatThresholds, out value, m_StatThresholdsCount);
return value;
}
set
{
Helper.TryMarshalSet<StatThresholdsInternal, StatThresholds>(ref m_StatThresholds, value, out m_StatThresholdsCount);
}
}
public void Set(DefinitionV2 other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.Definitionv2ApiLatest;
AchievementId = other.AchievementId;
UnlockedDisplayName = other.UnlockedDisplayName;
UnlockedDescription = other.UnlockedDescription;
LockedDisplayName = other.LockedDisplayName;
LockedDescription = other.LockedDescription;
FlavorText = other.FlavorText;
UnlockedIconURL = other.UnlockedIconURL;
LockedIconURL = other.LockedIconURL;
IsHidden = other.IsHidden;
StatThresholds = other.StatThresholds;
}
}
public void Set(object other)
{
Set(other as DefinitionV2);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AchievementId);
Helper.TryMarshalDispose(ref m_UnlockedDisplayName);
Helper.TryMarshalDispose(ref m_UnlockedDescription);
Helper.TryMarshalDispose(ref m_LockedDisplayName);
Helper.TryMarshalDispose(ref m_LockedDescription);
Helper.TryMarshalDispose(ref m_FlavorText);
Helper.TryMarshalDispose(ref m_UnlockedIconURL);
Helper.TryMarshalDispose(ref m_LockedIconURL);
Helper.TryMarshalDispose(ref m_StatThresholds);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/DefinitionV2.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9376ff281ab40854e86099ee9d581fe9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

35
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetAchievementDefinitionCountOptions.cs

@ -0,0 +1,35 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.GetAchievementDefinitionCount" /> function.
/// </summary>
public class GetAchievementDefinitionCountOptions
{
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct GetAchievementDefinitionCountOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
public void Set(GetAchievementDefinitionCountOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.GetachievementdefinitioncountApiLatest;
}
}
public void Set(object other)
{
Set(other as GetAchievementDefinitionCountOptions);
}
public void Dispose()
{
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetAchievementDefinitionCountOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7eaf49488f351eb45bfc71fa19fc6e2a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

50
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetPlayerAchievementCountOptions.cs

@ -0,0 +1,50 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.GetPlayerAchievementCount" /> function.
/// </summary>
public class GetPlayerAchievementCountOptions
{
/// <summary>
/// The Product User ID for the user whose achievement count is being retrieved.
/// </summary>
public ProductUserId UserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct GetPlayerAchievementCountOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_UserId;
public ProductUserId UserId
{
set
{
Helper.TryMarshalSet(ref m_UserId, value);
}
}
public void Set(GetPlayerAchievementCountOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.GetplayerachievementcountApiLatest;
UserId = other.UserId;
}
}
public void Set(object other)
{
Set(other as GetPlayerAchievementCountOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_UserId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetPlayerAchievementCountOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fd2b556ad35c7c049bb4e1f7233842d8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

50
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetUnlockedAchievementCountOptions.cs

@ -0,0 +1,50 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.GetUnlockedAchievementCount" /> function.
/// </summary>
public class GetUnlockedAchievementCountOptions
{
/// <summary>
/// Product User ID for which to retrieve the unlocked achievement count
/// </summary>
public ProductUserId UserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct GetUnlockedAchievementCountOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_UserId;
public ProductUserId UserId
{
set
{
Helper.TryMarshalSet(ref m_UserId, value);
}
}
public void Set(GetUnlockedAchievementCountOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.GetunlockedachievementcountApiLatest;
UserId = other.UserId;
}
}
public void Set(object other)
{
Set(other as GetUnlockedAchievementCountOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_UserId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/GetUnlockedAchievementCountOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: abcda9f042e9c5a43b8bed0050409159
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

14
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallback.cs

@ -0,0 +1,14 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Function prototype definition for notifications that come from <see cref="AchievementsInterface.AddNotifyAchievementsUnlocked" />
/// </summary>
/// <param name="data">A <see cref="OnAchievementsUnlockedCallbackInfo" /> containing the output information and result</param>
public delegate void OnAchievementsUnlockedCallback(OnAchievementsUnlockedCallbackInfo data);
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)]
internal delegate void OnAchievementsUnlockedCallbackInternal(System.IntPtr data);
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallback.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fff156707abc8524085da1c413a990a4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

93
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs

@ -0,0 +1,93 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Output parameters for the <see cref="OnAchievementsUnlockedCallback" /> Function.
/// </summary>
public class OnAchievementsUnlockedCallbackInfo : ICallbackInfo, ISettable
{
/// <summary>
/// Context that was passed into <see cref="AchievementsInterface.AddNotifyAchievementsUnlocked" />
/// </summary>
public object ClientData { get; private set; }
/// <summary>
/// The Product User ID for the user who received the unlocked achievements notification
/// </summary>
public ProductUserId UserId { get; private set; }
/// <summary>
/// This member is not used and will always be set to NULL.
/// </summary>
public string[] AchievementIds { get; private set; }
public Result? GetResultCode()
{
return null;
}
internal void Set(OnAchievementsUnlockedCallbackInfoInternal? other)
{
if (other != null)
{
ClientData = other.Value.ClientData;
UserId = other.Value.UserId;
AchievementIds = other.Value.AchievementIds;
}
}
public void Set(object other)
{
Set(other as OnAchievementsUnlockedCallbackInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct OnAchievementsUnlockedCallbackInfoInternal : ICallbackInfoInternal
{
private System.IntPtr m_ClientData;
private System.IntPtr m_UserId;
private uint m_AchievementsCount;
private System.IntPtr m_AchievementIds;
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
public ProductUserId UserId
{
get
{
ProductUserId value;
Helper.TryMarshalGet(m_UserId, out value);
return value;
}
}
public string[] AchievementIds
{
get
{
string[] value;
Helper.TryMarshalGet(m_AchievementIds, out value, m_AchievementsCount, true);
return value;
}
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackInfo.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 799e31b115a7eb54fb3a1b9197b27771
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

14
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs

@ -0,0 +1,14 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Function prototype definition for notifications that come from <see cref="AchievementsInterface.AddNotifyAchievementsUnlockedV2" />
/// </summary>
/// <param name="data">An <see cref="OnAchievementsUnlockedCallbackV2Info" /> containing the output information and result</param>
public delegate void OnAchievementsUnlockedCallbackV2(OnAchievementsUnlockedCallbackV2Info data);
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)]
internal delegate void OnAchievementsUnlockedCallbackV2Internal(System.IntPtr data);
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: cd92ba6a7cb02044ba3fb8e2ade96d04
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

109
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs

@ -0,0 +1,109 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Output parameters for the <see cref="OnAchievementsUnlockedCallbackV2" /> Function.
/// </summary>
public class OnAchievementsUnlockedCallbackV2Info : ICallbackInfo, ISettable
{
/// <summary>
/// Context that was passed into <see cref="AchievementsInterface.AddNotifyAchievementsUnlocked" />
/// </summary>
public object ClientData { get; private set; }
/// <summary>
/// The Product User ID for the user who received the unlocked achievements notification
/// </summary>
public ProductUserId UserId { get; private set; }
/// <summary>
/// The Achievement ID for the achievement that was unlocked. Pass this to <see cref="AchievementsInterface.CopyPlayerAchievementByAchievementId" /> to get the full achievement information.
/// </summary>
public string AchievementId { get; private set; }
/// <summary>
/// POSIX timestamp when the achievement was unlocked.
/// </summary>
public System.DateTimeOffset? UnlockTime { get; private set; }
public Result? GetResultCode()
{
return null;
}
internal void Set(OnAchievementsUnlockedCallbackV2InfoInternal? other)
{
if (other != null)
{
ClientData = other.Value.ClientData;
UserId = other.Value.UserId;
AchievementId = other.Value.AchievementId;
UnlockTime = other.Value.UnlockTime;
}
}
public void Set(object other)
{
Set(other as OnAchievementsUnlockedCallbackV2InfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct OnAchievementsUnlockedCallbackV2InfoInternal : ICallbackInfoInternal
{
private System.IntPtr m_ClientData;
private System.IntPtr m_UserId;
private System.IntPtr m_AchievementId;
private long m_UnlockTime;
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
public ProductUserId UserId
{
get
{
ProductUserId value;
Helper.TryMarshalGet(m_UserId, out value);
return value;
}
}
public string AchievementId
{
get
{
string value;
Helper.TryMarshalGet(m_AchievementId, out value);
return value;
}
}
public System.DateTimeOffset? UnlockTime
{
get
{
System.DateTimeOffset? value;
Helper.TryMarshalGet(m_UnlockTime, out value);
return value;
}
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnAchievementsUnlockedCallbackV2Info.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 07c1a5ce03e34e648b4d03791b13614a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

14
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs

@ -0,0 +1,14 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Function prototype definition for callbacks passed to <see cref="AchievementsInterface.QueryDefinitions" />
/// </summary>
/// <param name="data">An <see cref="OnQueryDefinitionsCompleteCallbackInfo" /> containing the output information and result</param>
public delegate void OnQueryDefinitionsCompleteCallback(OnQueryDefinitionsCompleteCallbackInfo data);
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)]
internal delegate void OnQueryDefinitionsCompleteCallbackInternal(System.IntPtr data);
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallback.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 87c6ab424b9ae9e499ab8254badb9071
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

73
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs

@ -0,0 +1,73 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Data containing the result information for a query definitions request.
/// </summary>
public class OnQueryDefinitionsCompleteCallbackInfo : ICallbackInfo, ISettable
{
/// <summary>
/// The <see cref="Result" /> code for the operation. <see cref="Result.Success" /> indicates that the operation succeeded; other codes indicate errors.
/// </summary>
public Result ResultCode { get; private set; }
/// <summary>
/// User-defined context that was passed into <see cref="AchievementsInterface.QueryDefinitions" />.
/// </summary>
public object ClientData { get; private set; }
public Result? GetResultCode()
{
return ResultCode;
}
internal void Set(OnQueryDefinitionsCompleteCallbackInfoInternal? other)
{
if (other != null)
{
ResultCode = other.Value.ResultCode;
ClientData = other.Value.ClientData;
}
}
public void Set(object other)
{
Set(other as OnQueryDefinitionsCompleteCallbackInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct OnQueryDefinitionsCompleteCallbackInfoInternal : ICallbackInfoInternal
{
private Result m_ResultCode;
private System.IntPtr m_ClientData;
public Result ResultCode
{
get
{
return m_ResultCode;
}
}
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryDefinitionsCompleteCallbackInfo.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 71a6cfe5640a3aa4ba9788bacb8ce3b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

15
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs

@ -0,0 +1,15 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Function prototype definition for callbacks passed to <see cref="AchievementsInterface.QueryPlayerAchievements" />
/// <seealso cref="AchievementsInterface.Release" />
/// </summary>
/// <param name="data">An <see cref="OnQueryPlayerAchievementsCompleteCallbackInfo" /> containing the output information and result</param>
public delegate void OnQueryPlayerAchievementsCompleteCallback(OnQueryPlayerAchievementsCompleteCallbackInfo data);
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)]
internal delegate void OnQueryPlayerAchievementsCompleteCallbackInternal(System.IntPtr data);
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallback.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e712c95a7a1207b4ea715ae6daefb9d5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

90
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs

@ -0,0 +1,90 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Data containing the result information for querying a player's achievements request.
/// </summary>
public class OnQueryPlayerAchievementsCompleteCallbackInfo : ICallbackInfo, ISettable
{
/// <summary>
/// The <see cref="Result" /> code for the operation. <see cref="Result.Success" /> indicates that the operation succeeded; other codes indicate errors.
/// </summary>
public Result ResultCode { get; private set; }
/// <summary>
/// Context that was passed into <see cref="AchievementsInterface.QueryPlayerAchievements" />.
/// </summary>
public object ClientData { get; private set; }
/// <summary>
/// The Product User ID of the user who initiated this request.
/// </summary>
public ProductUserId UserId { get; private set; }
public Result? GetResultCode()
{
return ResultCode;
}
internal void Set(OnQueryPlayerAchievementsCompleteCallbackInfoInternal? other)
{
if (other != null)
{
ResultCode = other.Value.ResultCode;
ClientData = other.Value.ClientData;
UserId = other.Value.UserId;
}
}
public void Set(object other)
{
Set(other as OnQueryPlayerAchievementsCompleteCallbackInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct OnQueryPlayerAchievementsCompleteCallbackInfoInternal : ICallbackInfoInternal
{
private Result m_ResultCode;
private System.IntPtr m_ClientData;
private System.IntPtr m_UserId;
public Result ResultCode
{
get
{
return m_ResultCode;
}
}
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
public ProductUserId UserId
{
get
{
ProductUserId value;
Helper.TryMarshalGet(m_UserId, out value);
return value;
}
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnQueryPlayerAchievementsCompleteCallbackInfo.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1b1115bb1e7e29d4fae5b2f000787d88
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

14
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs

@ -0,0 +1,14 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Function prototype definition for callbacks passed to <see cref="AchievementsInterface.UnlockAchievements" />
/// </summary>
/// <param name="data">An <see cref="OnUnlockAchievementsCompleteCallbackInfo" /> containing the output information and result</param>
public delegate void OnUnlockAchievementsCompleteCallback(OnUnlockAchievementsCompleteCallbackInfo data);
[System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)]
internal delegate void OnUnlockAchievementsCompleteCallbackInternal(System.IntPtr data);
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallback.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 558160757c9c85242981caea57c67cd0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

105
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs

@ -0,0 +1,105 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Data containing the result information for unlocking achievements request.
/// </summary>
public class OnUnlockAchievementsCompleteCallbackInfo : ICallbackInfo, ISettable
{
/// <summary>
/// The <see cref="Result" /> code for the operation. <see cref="Result.Success" /> indicates that the operation succeeded; other codes indicate errors.
/// </summary>
public Result ResultCode { get; private set; }
/// <summary>
/// Context that was passed into <see cref="AchievementsInterface.UnlockAchievements" />.
/// </summary>
public object ClientData { get; private set; }
/// <summary>
/// The Product User ID of the user who initiated this request.
/// </summary>
public ProductUserId UserId { get; private set; }
/// <summary>
/// The number of achievements that the operation unlocked.
/// </summary>
public uint AchievementsCount { get; private set; }
public Result? GetResultCode()
{
return ResultCode;
}
internal void Set(OnUnlockAchievementsCompleteCallbackInfoInternal? other)
{
if (other != null)
{
ResultCode = other.Value.ResultCode;
ClientData = other.Value.ClientData;
UserId = other.Value.UserId;
AchievementsCount = other.Value.AchievementsCount;
}
}
public void Set(object other)
{
Set(other as OnUnlockAchievementsCompleteCallbackInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct OnUnlockAchievementsCompleteCallbackInfoInternal : ICallbackInfoInternal
{
private Result m_ResultCode;
private System.IntPtr m_ClientData;
private System.IntPtr m_UserId;
private uint m_AchievementsCount;
public Result ResultCode
{
get
{
return m_ResultCode;
}
}
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
public ProductUserId UserId
{
get
{
ProductUserId value;
Helper.TryMarshalGet(m_UserId, out value);
return value;
}
}
public uint AchievementsCount
{
get
{
return m_AchievementsCount;
}
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/OnUnlockAchievementsCompleteCallbackInfo.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b42f103a6e86f7d4d844ceb493f2f9dd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

238
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerAchievement.cs

@ -0,0 +1,238 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Contains information about a single player achievement.
/// </summary>
public class PlayerAchievement : ISettable
{
/// <summary>
/// This achievement's unique identifier.
/// </summary>
public string AchievementId { get; set; }
/// <summary>
/// Progress towards completing this achievement (as a percentage).
/// </summary>
public double Progress { get; set; }
/// <summary>
/// The POSIX timestamp when the achievement was unlocked. If the achievement has not been unlocked, this value will be <see cref="AchievementsInterface.AchievementUnlocktimeUndefined" />.
/// </summary>
public System.DateTimeOffset? UnlockTime { get; set; }
/// <summary>
/// Array of <see cref="PlayerStatInfo" /> structures containing information about stat thresholds used to unlock the achievement and the player's current values for those stats.
/// </summary>
public PlayerStatInfo[] StatInfo { get; set; }
/// <summary>
/// Localized display name for the achievement based on this specific player's current progress on the achievement.
/// @note The current progress is updated when <see cref="AchievementsInterface.QueryPlayerAchievements" /> succeeds and when an achievement is unlocked.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Localized description for the achievement based on this specific player's current progress on the achievement.
/// @note The current progress is updated when <see cref="AchievementsInterface.QueryPlayerAchievements" /> succeeds and when an achievement is unlocked.
/// </summary>
public string Description { get; set; }
/// <summary>
/// URL of an icon to display for the achievement based on this specific player's current progress on the achievement. This may be null if there is no data configured in the dev portal.
/// @note The current progress is updated when <see cref="AchievementsInterface.QueryPlayerAchievements" /> succeeds and when an achievement is unlocked.
/// </summary>
public string IconURL { get; set; }
/// <summary>
/// Localized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal.
/// </summary>
public string FlavorText { get; set; }
internal void Set(PlayerAchievementInternal? other)
{
if (other != null)
{
AchievementId = other.Value.AchievementId;
Progress = other.Value.Progress;
UnlockTime = other.Value.UnlockTime;
StatInfo = other.Value.StatInfo;
DisplayName = other.Value.DisplayName;
Description = other.Value.Description;
IconURL = other.Value.IconURL;
FlavorText = other.Value.FlavorText;
}
}
public void Set(object other)
{
Set(other as PlayerAchievementInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct PlayerAchievementInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AchievementId;
private double m_Progress;
private long m_UnlockTime;
private int m_StatInfoCount;
private System.IntPtr m_StatInfo;
private System.IntPtr m_DisplayName;
private System.IntPtr m_Description;
private System.IntPtr m_IconURL;
private System.IntPtr m_FlavorText;
public string AchievementId
{
get
{
string value;
Helper.TryMarshalGet(m_AchievementId, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public double Progress
{
get
{
return m_Progress;
}
set
{
m_Progress = value;
}
}
public System.DateTimeOffset? UnlockTime
{
get
{
System.DateTimeOffset? value;
Helper.TryMarshalGet(m_UnlockTime, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_UnlockTime, value);
}
}
public PlayerStatInfo[] StatInfo
{
get
{
PlayerStatInfo[] value;
Helper.TryMarshalGet<PlayerStatInfoInternal, PlayerStatInfo>(m_StatInfo, out value, m_StatInfoCount);
return value;
}
set
{
Helper.TryMarshalSet<PlayerStatInfoInternal, PlayerStatInfo>(ref m_StatInfo, value, out m_StatInfoCount);
}
}
public string DisplayName
{
get
{
string value;
Helper.TryMarshalGet(m_DisplayName, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_DisplayName, value);
}
}
public string Description
{
get
{
string value;
Helper.TryMarshalGet(m_Description, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_Description, value);
}
}
public string IconURL
{
get
{
string value;
Helper.TryMarshalGet(m_IconURL, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_IconURL, value);
}
}
public string FlavorText
{
get
{
string value;
Helper.TryMarshalGet(m_FlavorText, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_FlavorText, value);
}
}
public void Set(PlayerAchievement other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.PlayerachievementApiLatest;
AchievementId = other.AchievementId;
Progress = other.Progress;
UnlockTime = other.UnlockTime;
StatInfo = other.StatInfo;
DisplayName = other.DisplayName;
Description = other.Description;
IconURL = other.IconURL;
FlavorText = other.FlavorText;
}
}
public void Set(object other)
{
Set(other as PlayerAchievement);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AchievementId);
Helper.TryMarshalDispose(ref m_StatInfo);
Helper.TryMarshalDispose(ref m_DisplayName);
Helper.TryMarshalDispose(ref m_Description);
Helper.TryMarshalDispose(ref m_IconURL);
Helper.TryMarshalDispose(ref m_FlavorText);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerAchievement.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5532d5315c45f264dbfd0524743311bb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

113
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerStatInfo.cs

@ -0,0 +1,113 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Contains information about a collection of stat info data.
/// <seealso cref="PlayerAchievement" />
/// </summary>
public class PlayerStatInfo : ISettable
{
/// <summary>
/// The name of the stat.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The current value of the stat.
/// </summary>
public int CurrentValue { get; set; }
/// <summary>
/// The threshold value of the stat, used in determining when to unlock an achievement.
/// </summary>
public int ThresholdValue { get; set; }
internal void Set(PlayerStatInfoInternal? other)
{
if (other != null)
{
Name = other.Value.Name;
CurrentValue = other.Value.CurrentValue;
ThresholdValue = other.Value.ThresholdValue;
}
}
public void Set(object other)
{
Set(other as PlayerStatInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct PlayerStatInfoInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_Name;
private int m_CurrentValue;
private int m_ThresholdValue;
public string Name
{
get
{
string value;
Helper.TryMarshalGet(m_Name, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_Name, value);
}
}
public int CurrentValue
{
get
{
return m_CurrentValue;
}
set
{
m_CurrentValue = value;
}
}
public int ThresholdValue
{
get
{
return m_ThresholdValue;
}
set
{
m_ThresholdValue = value;
}
}
public void Set(PlayerStatInfo other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.PlayerstatinfoApiLatest;
Name = other.Name;
CurrentValue = other.CurrentValue;
ThresholdValue = other.ThresholdValue;
}
}
public void Set(object other)
{
Set(other as PlayerStatInfo);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_Name);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/PlayerStatInfo.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c7aefc5dbb250cd4590e3d12effcd750
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

86
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryDefinitionsOptions.cs

@ -0,0 +1,86 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.QueryDefinitions" /> function.
/// </summary>
public class QueryDefinitionsOptions
{
/// <summary>
/// Product User ID for user who is querying definitions.
/// The localized text returned will be based on the locale code of the given user if they have a linked Epic Online Services Account ID.
/// The localized text returned can also be overridden using <see cref="Platform.PlatformInterface.SetOverrideLocaleCode" /> to override the locale.
/// If the locale code is not overridden and LocalUserId is not valid, default text will be returned.
/// </summary>
public ProductUserId LocalUserId { get; set; }
/// <summary>
/// Deprecated
/// </summary>
public EpicAccountId EpicUserId_DEPRECATED { get; set; }
/// <summary>
/// Deprecated
/// </summary>
public string[] HiddenAchievementIds_DEPRECATED { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct QueryDefinitionsOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_LocalUserId;
private System.IntPtr m_EpicUserId_DEPRECATED;
private System.IntPtr m_HiddenAchievementIds_DEPRECATED;
private uint m_HiddenAchievementsCount_DEPRECATED;
public ProductUserId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public EpicAccountId EpicUserId_DEPRECATED
{
set
{
Helper.TryMarshalSet(ref m_EpicUserId_DEPRECATED, value);
}
}
public string[] HiddenAchievementIds_DEPRECATED
{
set
{
Helper.TryMarshalSet(ref m_HiddenAchievementIds_DEPRECATED, value, out m_HiddenAchievementsCount_DEPRECATED, true);
}
}
public void Set(QueryDefinitionsOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.QuerydefinitionsApiLatest;
LocalUserId = other.LocalUserId;
EpicUserId_DEPRECATED = other.EpicUserId_DEPRECATED;
HiddenAchievementIds_DEPRECATED = other.HiddenAchievementIds_DEPRECATED;
}
}
public void Set(object other)
{
Set(other as QueryDefinitionsOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_LocalUserId);
Helper.TryMarshalDispose(ref m_EpicUserId_DEPRECATED);
Helper.TryMarshalDispose(ref m_HiddenAchievementIds_DEPRECATED);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryDefinitionsOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c7f429d8a6fd01041b3d6d03a7d3415d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

66
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryPlayerAchievementsOptions.cs

@ -0,0 +1,66 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.QueryPlayerAchievements" /> function.
/// </summary>
public class QueryPlayerAchievementsOptions
{
/// <summary>
/// The Product User ID for the user whose achievements are to be retrieved.
/// </summary>
public ProductUserId TargetUserId { get; set; }
/// <summary>
/// The Product User ID for the user who is querying for player achievements. For a Dedicated Server this should be null.
/// </summary>
public ProductUserId LocalUserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct QueryPlayerAchievementsOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_TargetUserId;
private System.IntPtr m_LocalUserId;
public ProductUserId TargetUserId
{
set
{
Helper.TryMarshalSet(ref m_TargetUserId, value);
}
}
public ProductUserId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public void Set(QueryPlayerAchievementsOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.QueryplayerachievementsApiLatest;
TargetUserId = other.TargetUserId;
LocalUserId = other.LocalUserId;
}
}
public void Set(object other)
{
Set(other as QueryPlayerAchievementsOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_TargetUserId);
Helper.TryMarshalDispose(ref m_LocalUserId);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/QueryPlayerAchievementsOptions.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 34ca1e6ccc7d74940a80a07fde2e5543
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

98
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/StatThresholds.cs

@ -0,0 +1,98 @@
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Contains information about a collection of stat threshold data.
///
/// The threshold will depend on the stat aggregate type:
/// LATEST (Tracks the latest value)
/// MAX (Tracks the maximum value)
/// MIN (Tracks the minimum value)
/// SUM (Generates a rolling sum of the value)
/// <seealso cref="Definition" />
/// </summary>
public class StatThresholds : ISettable
{
/// <summary>
/// The name of the stat.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The value that the stat must surpass to satisfy the requirement for unlocking an achievement.
/// </summary>
public int Threshold { get; set; }
internal void Set(StatThresholdsInternal? other)
{
if (other != null)
{
Name = other.Value.Name;
Threshold = other.Value.Threshold;
}
}
public void Set(object other)
{
Set(other as StatThresholdsInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct StatThresholdsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_Name;
private int m_Threshold;
public string Name
{
get
{
string value;
Helper.TryMarshalGet(m_Name, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_Name, value);
}
}
public int Threshold
{
get
{
return m_Threshold;
}
set
{
m_Threshold = value;
}
}
public void Set(StatThresholds other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.StatthresholdsApiLatest;
Name = other.Name;
Threshold = other.Threshold;
}
}
public void Set(object other)
{
Set(other as StatThresholds);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_Name);
}
}
}

11
Assets/Plugins/EpicOnlineServices/Source/Generated/Achievements/StatThresholds.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5ea3fa99a9425ed47ab6c859e2dff745
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save