├── .gitignore
├── CSharpGettingStarted.md
├── CSharpJobTemplate.yml
├── CSharpResourceTemplate.yml
├── CSharpStepTemplate.yml
├── Licenses
├── Newtonsoft.Json-License.txt
└── uunit-license.txt
├── PlayFabSDK
├── PlayFabSDK+Unit.sln
├── PlayFabSDK.sln
├── Properties
│ └── AssemblyInfo.cs
├── UnittestRunner
│ ├── App.config
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── UUnitTestRunner.cs
│ └── UnittestRunner.csproj
├── WindowsFormsApp1
│ ├── App.config
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ └── UnittestFormRunner.csproj
├── images
│ └── icon.png
└── source
│ ├── IPlayFabAddonInstanceAPI.cs
│ ├── IPlayFabAdminInstanceAPI.cs
│ ├── IPlayFabAuthenticationInstanceAPI.cs
│ ├── IPlayFabClientInstanceAPI.cs
│ ├── IPlayFabCloudScriptInstanceAPI.cs
│ ├── IPlayFabDataInstanceAPI.cs
│ ├── IPlayFabEconomyInstanceAPI.cs
│ ├── IPlayFabEventsInstanceAPI.cs
│ ├── IPlayFabExperimentationInstanceAPI.cs
│ ├── IPlayFabGroupsInstanceAPI.cs
│ ├── IPlayFabInsightsInstanceAPI.cs
│ ├── IPlayFabLocalizationInstanceAPI.cs
│ ├── IPlayFabMultiplayerInstanceAPI.cs
│ ├── IPlayFabPlugin.cs
│ ├── IPlayFabProfilesInstanceAPI.cs
│ ├── IPlayFabProgressionInstanceAPI.cs
│ ├── IPlayFabServerInstanceAPI.cs
│ ├── ISerializerPlugin.cs
│ ├── ITransportPlugin.cs
│ ├── Json
│ ├── ISerializer.cs
│ ├── NewtonsoftWrapper.cs
│ └── SimpleJson.cs
│ ├── LICENSE
│ ├── PlayFabAddonAPI.cs
│ ├── PlayFabAddonInstanceAPI.cs
│ ├── PlayFabAddonModels.cs
│ ├── PlayFabAdminAPI.cs
│ ├── PlayFabAdminInstanceAPI.cs
│ ├── PlayFabAdminModels.cs
│ ├── PlayFabApiSettings.cs
│ ├── PlayFabAuthenticationAPI.cs
│ ├── PlayFabAuthenticationContext.cs
│ ├── PlayFabAuthenticationInstanceAPI.cs
│ ├── PlayFabAuthenticationModels.cs
│ ├── PlayFabClientAPI.cs
│ ├── PlayFabClientInstanceAPI.cs
│ ├── PlayFabClientModels.cs
│ ├── PlayFabCloudScriptAPI.cs
│ ├── PlayFabCloudScriptInstanceAPI.cs
│ ├── PlayFabCloudScriptModels.cs
│ ├── PlayFabDataAPI.cs
│ ├── PlayFabDataInstanceAPI.cs
│ ├── PlayFabDataModels.cs
│ ├── PlayFabEconomyAPI.cs
│ ├── PlayFabEconomyInstanceAPI.cs
│ ├── PlayFabEconomyModels.cs
│ ├── PlayFabErrors.cs
│ ├── PlayFabEventsAPI.cs
│ ├── PlayFabEventsInstanceAPI.cs
│ ├── PlayFabEventsModels.cs
│ ├── PlayFabExperimentationAPI.cs
│ ├── PlayFabExperimentationInstanceAPI.cs
│ ├── PlayFabExperimentationModels.cs
│ ├── PlayFabGroupsAPI.cs
│ ├── PlayFabGroupsInstanceAPI.cs
│ ├── PlayFabGroupsModels.cs
│ ├── PlayFabHttp
│ ├── HttpTransportWithDecompression.cs
│ ├── IPlayFabHttp.cs
│ ├── PlayFabHttp.cs
│ ├── PlayFabPollyHttp.cs
│ └── PlayFabSysHttp.cs
│ ├── PlayFabInsightsAPI.cs
│ ├── PlayFabInsightsInstanceAPI.cs
│ ├── PlayFabInsightsModels.cs
│ ├── PlayFabLocalizationAPI.cs
│ ├── PlayFabLocalizationInstanceAPI.cs
│ ├── PlayFabLocalizationModels.cs
│ ├── PlayFabMultiplayerAPI.cs
│ ├── PlayFabMultiplayerInstanceAPI.cs
│ ├── PlayFabMultiplayerModels.cs
│ ├── PlayFabProfilesAPI.cs
│ ├── PlayFabProfilesInstanceAPI.cs
│ ├── PlayFabProfilesModels.cs
│ ├── PlayFabProgressionAPI.cs
│ ├── PlayFabProgressionInstanceAPI.cs
│ ├── PlayFabProgressionModels.cs
│ ├── PlayFabSDK.csproj
│ ├── PlayFabServerAPI.cs
│ ├── PlayFabServerInstanceAPI.cs
│ ├── PlayFabServerModels.cs
│ ├── PlayFabSettings.cs
│ ├── PlayFabUtil.cs
│ ├── PluginContract.cs
│ ├── PluginManager.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── Qos
│ ├── IRegionPinger.cs
│ ├── PlayFabQosApi.cs
│ ├── QosErrorCode.cs
│ ├── QosRegionResult.cs
│ ├── QosResult.cs
│ └── RegionPinger.cs
│ ├── Uunit
│ ├── PluginManagerTest.cs
│ ├── UUnitAssertException.cs
│ ├── UUnitIncrementalTestRunner.cs
│ ├── UUnitTestCase.cs
│ ├── UUnitTestContext.cs
│ ├── UUnitTestReport.cs
│ ├── UUnitTestSuite.cs
│ └── tests
│ │ ├── HttpTests.cs
│ │ ├── InstanceAuthTests.cs
│ │ ├── PlayFabApiTest.cs
│ │ ├── PlayFabQosApiTest.cs
│ │ ├── PlayFabServerApiTest.cs
│ │ └── Utility
│ │ └── JsonUnitTests.cs
│ └── WsaReflectionExtensions.cs
├── PluginManager.md
├── Plugins
└── CloudScript
│ ├── PlayFabCloudScriptPlugin.sln
│ └── source
│ ├── PlayFabCloudScriptPlugin.csproj
│ └── PlayFabFunctionContexts.cs
├── README.md
├── XamarinGettingStarted.md
├── XamarinTestRunner
├── XamarinTestRunner.sln
├── XamarinTestRunner
│ ├── PlayFabSDK
│ │ ├── IPlayFabAddonInstanceAPI.cs
│ │ ├── IPlayFabAdminInstanceAPI.cs
│ │ ├── IPlayFabAuthenticationInstanceAPI.cs
│ │ ├── IPlayFabClientInstanceAPI.cs
│ │ ├── IPlayFabCloudScriptInstanceAPI.cs
│ │ ├── IPlayFabDataInstanceAPI.cs
│ │ ├── IPlayFabEconomyInstanceAPI.cs
│ │ ├── IPlayFabEventsInstanceAPI.cs
│ │ ├── IPlayFabExperimentationInstanceAPI.cs
│ │ ├── IPlayFabGroupsInstanceAPI.cs
│ │ ├── IPlayFabInsightsInstanceAPI.cs
│ │ ├── IPlayFabLocalizationInstanceAPI.cs
│ │ ├── IPlayFabMultiplayerInstanceAPI.cs
│ │ ├── IPlayFabPlugin.cs
│ │ ├── IPlayFabProfilesInstanceAPI.cs
│ │ ├── IPlayFabProgressionInstanceAPI.cs
│ │ ├── IPlayFabServerInstanceAPI.cs
│ │ ├── ISerializerPlugin.cs
│ │ ├── ITransportPlugin.cs
│ │ ├── Json
│ │ │ ├── ISerializer.cs
│ │ │ ├── NewtonsoftWrapper.cs
│ │ │ └── SimpleJson.cs
│ │ ├── LICENSE
│ │ ├── PlayFabAddonAPI.cs
│ │ ├── PlayFabAddonInstanceAPI.cs
│ │ ├── PlayFabAddonModels.cs
│ │ ├── PlayFabAdminAPI.cs
│ │ ├── PlayFabAdminInstanceAPI.cs
│ │ ├── PlayFabAdminModels.cs
│ │ ├── PlayFabApiSettings.cs
│ │ ├── PlayFabAuthenticationAPI.cs
│ │ ├── PlayFabAuthenticationContext.cs
│ │ ├── PlayFabAuthenticationInstanceAPI.cs
│ │ ├── PlayFabAuthenticationModels.cs
│ │ ├── PlayFabClientAPI.cs
│ │ ├── PlayFabClientInstanceAPI.cs
│ │ ├── PlayFabClientModels.cs
│ │ ├── PlayFabCloudScriptAPI.cs
│ │ ├── PlayFabCloudScriptInstanceAPI.cs
│ │ ├── PlayFabCloudScriptModels.cs
│ │ ├── PlayFabDataAPI.cs
│ │ ├── PlayFabDataInstanceAPI.cs
│ │ ├── PlayFabDataModels.cs
│ │ ├── PlayFabEconomyAPI.cs
│ │ ├── PlayFabEconomyInstanceAPI.cs
│ │ ├── PlayFabEconomyModels.cs
│ │ ├── PlayFabErrors.cs
│ │ ├── PlayFabEventsAPI.cs
│ │ ├── PlayFabEventsInstanceAPI.cs
│ │ ├── PlayFabEventsModels.cs
│ │ ├── PlayFabExperimentationAPI.cs
│ │ ├── PlayFabExperimentationInstanceAPI.cs
│ │ ├── PlayFabExperimentationModels.cs
│ │ ├── PlayFabGroupsAPI.cs
│ │ ├── PlayFabGroupsInstanceAPI.cs
│ │ ├── PlayFabGroupsModels.cs
│ │ ├── PlayFabHttp
│ │ │ ├── HttpTransportWithDecompression.cs
│ │ │ ├── IPlayFabHttp.cs
│ │ │ ├── PlayFabHttp.cs
│ │ │ ├── PlayFabPollyHttp.cs
│ │ │ └── PlayFabSysHttp.cs
│ │ ├── PlayFabInsightsAPI.cs
│ │ ├── PlayFabInsightsInstanceAPI.cs
│ │ ├── PlayFabInsightsModels.cs
│ │ ├── PlayFabLocalizationAPI.cs
│ │ ├── PlayFabLocalizationInstanceAPI.cs
│ │ ├── PlayFabLocalizationModels.cs
│ │ ├── PlayFabMultiplayerAPI.cs
│ │ ├── PlayFabMultiplayerInstanceAPI.cs
│ │ ├── PlayFabMultiplayerModels.cs
│ │ ├── PlayFabProfilesAPI.cs
│ │ ├── PlayFabProfilesInstanceAPI.cs
│ │ ├── PlayFabProfilesModels.cs
│ │ ├── PlayFabProgressionAPI.cs
│ │ ├── PlayFabProgressionInstanceAPI.cs
│ │ ├── PlayFabProgressionModels.cs
│ │ ├── PlayFabSDK.csproj
│ │ ├── PlayFabServerAPI.cs
│ │ ├── PlayFabServerInstanceAPI.cs
│ │ ├── PlayFabServerModels.cs
│ │ ├── PlayFabSettings.cs
│ │ ├── PlayFabUtil.cs
│ │ ├── PluginContract.cs
│ │ ├── PluginManager.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Qos
│ │ │ ├── IRegionPinger.cs
│ │ │ ├── PlayFabQosApi.cs
│ │ │ ├── QosErrorCode.cs
│ │ │ ├── QosRegionResult.cs
│ │ │ ├── QosResult.cs
│ │ │ └── RegionPinger.cs
│ │ ├── Uunit
│ │ │ ├── PluginManagerTest.cs
│ │ │ ├── UUnitAssertException.cs
│ │ │ ├── UUnitIncrementalTestRunner.cs
│ │ │ ├── UUnitTestCase.cs
│ │ │ ├── UUnitTestContext.cs
│ │ │ ├── UUnitTestReport.cs
│ │ │ ├── UUnitTestSuite.cs
│ │ │ └── tests
│ │ │ │ ├── HttpTests.cs
│ │ │ │ ├── InstanceAuthTests.cs
│ │ │ │ ├── PlayFabApiTest.cs
│ │ │ │ ├── PlayFabConnectionStringApiTest.cs
│ │ │ │ ├── PlayFabQosApiTest.cs
│ │ │ │ ├── PlayFabServerApiTest.cs
│ │ │ │ └── Utility
│ │ │ │ └── JsonUnitTests.cs
│ │ └── WsaReflectionExtensions.cs
│ ├── XamarinTestRunner.Android
│ │ ├── MainActivity.cs
│ │ ├── Properties
│ │ │ ├── AndroidManifest.xml
│ │ │ └── AssemblyInfo.cs
│ │ ├── Resources
│ │ │ ├── AboutResources.txt
│ │ │ ├── Resource.designer.cs
│ │ │ ├── layout
│ │ │ │ ├── Tabbar.axml
│ │ │ │ └── Toolbar.axml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── icon.xml
│ │ │ │ └── icon_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ ├── icon.png
│ │ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ ├── icon.png
│ │ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── icon.png
│ │ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── icon.png
│ │ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── icon.png
│ │ │ │ └── launcher_foreground.png
│ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ └── styles.xml
│ │ └── XamarinTestRunner.Android.csproj
│ ├── XamarinTestRunner.UWP
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Assets
│ │ │ ├── LargeTile.scale-100.png
│ │ │ ├── LargeTile.scale-200.png
│ │ │ ├── LargeTile.scale-400.png
│ │ │ ├── SmallTile.scale-100.png
│ │ │ ├── SmallTile.scale-200.png
│ │ │ ├── SmallTile.scale-400.png
│ │ │ ├── SplashScreen.scale-100.png
│ │ │ ├── SplashScreen.scale-200.png
│ │ │ ├── SplashScreen.scale-400.png
│ │ │ ├── Square150x150Logo.scale-100.png
│ │ │ ├── Square150x150Logo.scale-200.png
│ │ │ ├── Square150x150Logo.scale-400.png
│ │ │ ├── Square44x44Logo.altform-unplated_targetsize-16.png
│ │ │ ├── Square44x44Logo.altform-unplated_targetsize-256.png
│ │ │ ├── Square44x44Logo.altform-unplated_targetsize-48.png
│ │ │ ├── Square44x44Logo.scale-100.png
│ │ │ ├── Square44x44Logo.scale-200.png
│ │ │ ├── Square44x44Logo.scale-400.png
│ │ │ ├── Square44x44Logo.targetsize-16.png
│ │ │ ├── Square44x44Logo.targetsize-256.png
│ │ │ ├── Square44x44Logo.targetsize-48.png
│ │ │ ├── StoreLogo.backup.png
│ │ │ ├── StoreLogo.scale-100.png
│ │ │ ├── StoreLogo.scale-200.png
│ │ │ ├── StoreLogo.scale-400.png
│ │ │ ├── Wide310x150Logo.scale-100.png
│ │ │ ├── Wide310x150Logo.scale-200.png
│ │ │ └── Wide310x150Logo.scale-400.png
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ └── XamarinTestRunner.UWP.csproj
│ ├── XamarinTestRunner.iOS
│ │ ├── AppDelegate.cs
│ │ ├── Assets.xcassets
│ │ │ └── AppIcon.appiconset
│ │ │ │ ├── Contents.json
│ │ │ │ ├── Icon1024.png
│ │ │ │ ├── Icon120.png
│ │ │ │ ├── Icon152.png
│ │ │ │ ├── Icon167.png
│ │ │ │ ├── Icon180.png
│ │ │ │ ├── Icon20.png
│ │ │ │ ├── Icon29.png
│ │ │ │ ├── Icon40.png
│ │ │ │ ├── Icon58.png
│ │ │ │ ├── Icon60.png
│ │ │ │ ├── Icon76.png
│ │ │ │ ├── Icon80.png
│ │ │ │ └── Icon87.png
│ │ ├── Entitlements.plist
│ │ ├── Info.plist
│ │ ├── Main.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Resources
│ │ │ ├── Default-568h@2x.png
│ │ │ ├── Default-Portrait.png
│ │ │ ├── Default-Portrait@2x.png
│ │ │ ├── Default.png
│ │ │ ├── Default@2x.png
│ │ │ └── LaunchScreen.storyboard
│ │ └── XamarinTestRunner.iOS.csproj
│ └── XamarinTestRunner
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ └── XamarinTestRunner.csproj
├── build Android.cmd
├── build UWP.cmd
├── build all.cmd
├── build iOS.cmd
├── build_Android.cmd
├── build_UWP.cmd
├── build_all.cmd
├── build_iOS.cmd
└── readme.md
├── genConfig.json
└── images
├── CSharp
├── NewCsProj.png
├── Nuget1.png
├── Nuget2.png
├── PlayFabSourceFolder1.png
├── PlayFabSourceFolder2.png
└── SdkImported.png
└── Xamarin
├── BuildSettings.png
├── ImportRename.png
├── NetHttp.png
├── NewProj.png
└── UpdateXamarin.png
/.gitignore:
--------------------------------------------------------------------------------
1 | **/*[Tt]estTitleData.json*
2 |
3 | # Intermediate files
4 | .vs/
5 | bin/
6 | obj/
7 |
8 | # Deleted test projects
9 | PlayFabClientSDK/
10 | PlayFabServerSDK/
11 |
12 | *.suo
13 | *.user
14 | *.nupkg
--------------------------------------------------------------------------------
/CSharpJobTemplate.yml:
--------------------------------------------------------------------------------
1 | # JOB LEVEL TEMPLATE:
2 | # Used to build CSharp
3 | # Reusable
4 | # Meant to be run from the single CSharpTemplate pipeline (default), or
5 | # from a multi-pipeline such as publishing (should specify alternate params)
6 |
7 | parameters:
8 | - name: ApiSpecSource
9 | displayName: ApiSpecSource
10 | type: string
11 | default: -apiSpecGitUrl https://raw.githubusercontent.com/PlayFab/API_Specs/master/
12 | - name: CommitMessage
13 | displayName: CommitMessage
14 | type: string
15 | default: Automated build from ADO Pipeline
16 | - name: GitDestBranch
17 | displayName: GitDestBranch
18 | type: string
19 | default: doNotCommit
20 | - name: GitJSetupBranch
21 | displayName: GitJSetupBranch
22 | type: string
23 | default: master
24 | - name: GitSdkGenBranch
25 | displayName: GitSdkGenBranch
26 | type: string
27 | default: master
28 | - name: isVersioned
29 | displayName: isVersioned
30 | type: boolean
31 | default: false
32 | - name: TestCompile
33 | displayName: TestCompile
34 | type: boolean
35 | default: true
36 | - name: TestWin32NetCore
37 | displayName: TestWin32NetCore
38 | type: boolean
39 | default: true
40 | - name: TestWin32Basic
41 | displayName: TestWin32Basic
42 | type: boolean
43 | default: true
44 | - name: SelfTemplateResource
45 | displayName: SelfTemplateResource
46 | type: string
47 | default: self
48 |
49 | jobs:
50 | - job: CSharpJobTemplate
51 | steps:
52 | - bash: echo CSharpJobTemplate
53 | - job: CSharpTemplate
54 | pool:
55 | vmImage: 'windows-latest'
56 | steps:
57 | - template: CSharpStepTemplate.yml
58 | parameters:
59 | ApiSpecSource: ${{ parameters.ApiSpecSource }}
60 | CommitMessage: ${{ parameters.CommitMessage }}
61 | GitDestBranch: ${{ parameters.GitDestBranch }}
62 | GitJSetupBranch: ${{ parameters.GitJSetupBranch }}
63 | GitSdkGenBranch: ${{ parameters.GitSdkGenBranch }}
64 | isVersioned: ${{ parameters.isVersioned }}
65 | TestCompile: ${{ parameters.TestCompile }}
66 | TestWin32NetCore: ${{ parameters.TestWin32NetCore }}
67 | TestWin32Basic: ${{ parameters.TestWin32Basic }}
68 | SelfTemplateResource: ${{ parameters.SelfTemplateResource }}
69 |
--------------------------------------------------------------------------------
/CSharpResourceTemplate.yml:
--------------------------------------------------------------------------------
1 | # TOP LEVEL TEMPLATE:
2 | # Can only be used to run the single CSharpTemplate pipeline.
3 | # Why: Resources can only be defined once.
4 | # This determines the resources available to all "jobs" and "steps" no matter which templates are loaded after this
5 | # If resources is ever defined again, it'll break so badly that the pipeline won't even parse
6 |
7 | resources:
8 | repositories:
9 | - repository: JenkinsSdkSetupScripts
10 | type: github
11 | endpoint: GitHub_PlayFab
12 | name: PlayFab/JenkinsSdkSetupScripts
13 | - repository: API_Specs
14 | type: github
15 | endpoint: GitHub_PlayFab
16 | name: PlayFab/API_Specs
17 | - repository: SdkGenerator
18 | type: github
19 | endpoint: GitHub_PlayFab
20 | name: PlayFab/SdkGenerator
21 | - repository: CSharpSDK
22 | endpoint: GitHub_PlayFab
23 | type: github
24 | name: PlayFab/CSharpSDK
25 |
26 | jobs:
27 | - job: CSharpResourceTemplate
28 | steps:
29 | - bash: echo CSharpResourceTemplate
30 | - template: CSharpJobTemplate.yml
31 |
--------------------------------------------------------------------------------
/Licenses/Newtonsoft.Json-License.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2007 James Newton-King
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/Licenses/uunit-license.txt:
--------------------------------------------------------------------------------
1 | Unity has a custom license and subscription, linked to their editor.
2 | https://unity3d.com/get-unity
3 |
4 | We are not distributing the Unity-editor, or any Unity source.
5 |
6 | Uunit Download location
7 | http://wiki.unity3d.com/index.php?title=UUnit
8 |
9 | License
10 | http://creativecommons.org/licenses/by-sa/3.0/
11 |
12 | /*
13 | * UUnit system from UnityCommunity
14 | * Heavily modified
15 | * Stripped of all unity-related code
16 | * 0.4 release by pboechat
17 | * http://wiki.unity3d.com/index.php?title=UUnit
18 | * http://creativecommons.org/licenses/by-sa/3.0/
19 | */
20 |
--------------------------------------------------------------------------------
/PlayFabSDK/PlayFabSDK+Unit.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.902
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PlayFabSDK", "source\PlayFabSDK.csproj", "{CCA89497-1426-4F0B-8A11-7E5FB965FB4B}"
7 | EndProject
8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnittestRunner", "UnittestRunner\UnittestRunner.csproj", "{EE5D7734-02A4-4AFE-B2EF-E38B9C24D2BD}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnittestFormRunner", "WindowsFormsApp1\UnittestFormRunner.csproj", "{172A151B-FD46-478D-B690-0636E8212D39}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Release|Any CPU = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {EE5D7734-02A4-4AFE-B2EF-E38B9C24D2BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {EE5D7734-02A4-4AFE-B2EF-E38B9C24D2BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {EE5D7734-02A4-4AFE-B2EF-E38B9C24D2BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {EE5D7734-02A4-4AFE-B2EF-E38B9C24D2BD}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {172A151B-FD46-478D-B690-0636E8212D39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 | {172A151B-FD46-478D-B690-0636E8212D39}.Debug|Any CPU.Build.0 = Debug|Any CPU
28 | {172A151B-FD46-478D-B690-0636E8212D39}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {172A151B-FD46-478D-B690-0636E8212D39}.Release|Any CPU.Build.0 = Release|Any CPU
30 | EndGlobalSection
31 | GlobalSection(SolutionProperties) = preSolution
32 | HideSolutionNode = FALSE
33 | EndGlobalSection
34 | GlobalSection(ExtensibilityGlobals) = postSolution
35 | SolutionGuid = {C7B92AD6-2DDB-4345-9146-C98EA85FBA5F}
36 | EndGlobalSection
37 | EndGlobal
38 |
--------------------------------------------------------------------------------
/PlayFabSDK/PlayFabSDK.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.27130.2036
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PlayFabSDK", "source\PlayFabSDK.csproj", "{CCA89497-1426-4F0B-8A11-7E5FB965FB4B}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {CCA89497-1426-4F0B-8A11-7E5FB965FB4B}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/PlayFabSDK/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Resources;
2 | using System.Reflection;
3 |
4 | [assembly: AssemblyTitle("PlayFab CSharp Sdk")]
5 | [assembly: AssemblyDescription("Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services.")]
6 | [assembly: AssemblyCompany("PlayFab")]
7 | [assembly: AssemblyProduct("PlayFabSDK")]
8 | [assembly: AssemblyCopyright("Copyright 2014")]
9 | [assembly: AssemblyTrademark("PlayFab")]
10 | [assembly: NeutralResourcesLanguage("en")]
11 | [assembly: AssemblyVersion("1")]
12 | [assembly: AssemblyFileVersion("1")]
13 |
--------------------------------------------------------------------------------
/PlayFabSDK/UnittestRunner/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/PlayFabSDK/UnittestRunner/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTrademark("")]
9 | [assembly: AssemblyCulture("")]
10 |
11 | // Setting ComVisible to false makes the types in this assembly not visible
12 | // to COM components. If you need to access a type in this assembly from
13 | // COM, set the ComVisible attribute to true on that type.
14 | [assembly: ComVisible(false)]
15 |
16 | // The following GUID is for the ID of the typelib if this project is exposed to COM
17 | [assembly: Guid("d15d2425-303b-4652-b118-5ce36d8b46c8")]
18 |
--------------------------------------------------------------------------------
/PlayFabSDK/UnittestRunner/UnittestRunner.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | UnittestRunner
7 | UnittestRunner
8 | 512
9 |
10 | UnittestRunner
11 |
12 |
13 |
14 | UnittestRunner
15 | Copyright © 2015
16 | en
17 | 1.0.0.0
18 | 1.0.0.0
19 | UnittestRunner.UUnitTestRunner
20 |
21 |
22 |
23 |
24 | AnyCPU
25 | true
26 | full
27 | false
28 | TRACE;NETFX_CORE;SIMPLE_JSON_TYPEINFO;ENABLE_PLAYFABADMIN_API;ENABLE_PLAYFABSERVER_API
29 | prompt
30 | 4
31 |
32 |
33 | AnyCPU
34 | pdbonly
35 | true
36 | TRACE;DEBUG;NETFX_CORE;SIMPLE_JSON_TYPEINFO;ENABLE_PLAYFABADMIN_API;ENABLE_PLAYFABSERVER_API
37 | prompt
38 | 4
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WindowsFormsApp1
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.button1 = new System.Windows.Forms.Button();
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.SuspendLayout();
34 | //
35 | // button1
36 | //
37 | this.button1.Location = new System.Drawing.Point(707, 12);
38 | this.button1.Name = "button1";
39 | this.button1.Size = new System.Drawing.Size(81, 41);
40 | this.button1.TabIndex = 0;
41 | this.button1.Text = "button1";
42 | this.button1.UseVisualStyleBackColor = true;
43 | this.button1.Click += new System.EventHandler(this.button1_Click);
44 | //
45 | // label1
46 | //
47 | this.label1.AutoSize = true;
48 | this.label1.Location = new System.Drawing.Point(12, 9);
49 | this.label1.Name = "label1";
50 | this.label1.Size = new System.Drawing.Size(35, 13);
51 | this.label1.TabIndex = 1;
52 | this.label1.Text = "label1";
53 | //
54 | // Form1
55 | //
56 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
57 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
58 | this.ClientSize = new System.Drawing.Size(800, 1010);
59 | this.Controls.Add(this.label1);
60 | this.Controls.Add(this.button1);
61 | this.Name = "Form1";
62 | this.Text = "Form1";
63 | this.ResumeLayout(false);
64 | this.PerformLayout();
65 |
66 | }
67 |
68 | #endregion
69 |
70 | private System.Windows.Forms.Button button1;
71 | private System.Windows.Forms.Label label1;
72 | }
73 | }
74 |
75 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace WindowsFormsApp1
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | Application.EnableVisualStyles();
15 | Application.SetCompatibleTextRenderingDefault(false);
16 | Application.Run(new Form1());
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("WindowsFormsApp1")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("WindowsFormsApp1")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("172a151b-fd46-478d-b690-0636e8212d39")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WindowsFormsApp1.Properties
12 | {
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// Returns the cached ResourceManager instance used by this class.
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// Overrides the current thread's CurrentUICulture property for all
56 | /// resource lookups using this strongly typed resource class.
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WindowsFormsApp1.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/PlayFabSDK/WindowsFormsApp1/UnittestFormRunner.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | net5.0-windows
6 | true
7 | false
8 | WindowsFormsApp1
9 | WindowsFormsApp1
10 |
11 |
12 |
13 | AnyCPU
14 | true
15 | full
16 | false
17 | bin\Debug\
18 | TRACE;DEBUG;NETFX_CORE;SIMPLE_JSON_TYPEINFO;ENABLE_PLAYFABADMIN_API;ENABLE_PLAYFABSERVER_API
19 | prompt
20 | 4
21 |
22 |
23 |
24 | AnyCPU
25 | pdbonly
26 | true
27 | bin\Release\
28 | TRACE;NETFX_CORE;SIMPLE_JSON_TYPEINFO;ENABLE_PLAYFABADMIN_API;ENABLE_PLAYFABSERVER_API
29 | prompt
30 | 4
31 |
32 |
33 |
34 |
35 | Form1.cs
36 |
37 |
38 | ResXFileCodeGenerator
39 | Resources.Designer.cs
40 |
41 |
42 | True
43 | Resources.resx
44 | True
45 |
46 |
47 | SettingsSingleFileGenerator
48 | Settings.Designer.cs
49 |
50 |
51 | True
52 | Settings.settings
53 | True
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/PlayFabSDK/images/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PlayFab/CSharpSDK/d2a4e1ced24d426815776603064a8f528f3c7e6c/PlayFabSDK/images/icon.png
--------------------------------------------------------------------------------
/PlayFabSDK/source/IPlayFabAuthenticationInstanceAPI.cs:
--------------------------------------------------------------------------------
1 | #if !DISABLE_PLAYFABENTITY_API
2 |
3 | using PlayFab.AuthenticationModels;
4 | using PlayFab.Internal;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace PlayFab
10 | {
11 | ///
12 | /// The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication
13 | /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. The
14 | /// game_server API is designed to create uniquely identifiable game_server entities. The game_server Entity token can be
15 | /// used to call Matchmaking Lobby and Pubsub for server scenarios.
16 | ///
17 | public interface IPlayFabAuthenticationInstanceAPI
18 | {
19 | ///
20 | /// Create a game_server entity token and return a new or existing game_server entity.
21 | ///
22 | Task> AuthenticateGameServerWithCustomIdAsync(
23 | AuthenticateCustomIdRequest request,
24 | object customData = null,
25 | Dictionary extraHeaders = null);
26 |
27 | ///
28 | /// Delete a game_server entity.
29 | ///
30 | Task> DeleteAsync(
31 | DeleteRequest request,
32 | object customData = null,
33 | Dictionary extraHeaders = null);
34 |
35 | ///
36 | /// Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid
37 | /// Entity Token.
38 | ///
39 | Task> GetEntityTokenAsync(
40 | GetEntityTokenRequest request,
41 | object customData = null,
42 | Dictionary extraHeaders = null);
43 |
44 | ///
45 | /// Method for a server to validate a client provided EntityToken. Only callable by the title entity.
46 | ///
47 | Task> ValidateEntityTokenAsync(
48 | ValidateEntityTokenRequest request,
49 | object customData = null,
50 | Dictionary extraHeaders = null);
51 | }
52 | }
53 | #endif
54 |
--------------------------------------------------------------------------------
/PlayFabSDK/source/IPlayFabDataInstanceAPI.cs:
--------------------------------------------------------------------------------
1 | #if !DISABLE_PLAYFABENTITY_API
2 |
3 | using PlayFab.DataModels;
4 | using PlayFab.Internal;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace PlayFab
10 | {
11 | ///
12 | /// Store arbitrary data associated with an entity. Objects are small (~1KB) JSON-compatible objects which are stored
13 | /// directly on the entity profile. Objects are made available for use in other PlayFab contexts, such as PlayStream events
14 | /// and CloudScript functions. Files can efficiently store data of any size or format. Both objects and files support a
15 | /// flexible permissions system to control read and write access by other entities.
16 | ///
17 | public interface IPlayFabDataInstanceAPI
18 | {
19 | ///
20 | /// Abort pending file uploads to an entity's profile.
21 | ///
22 | Task> AbortFileUploadsAsync(
23 | AbortFileUploadsRequest request,
24 | object customData = null,
25 | Dictionary extraHeaders = null);
26 |
27 | ///
28 | /// Delete files on an entity's profile.
29 | ///
30 | Task> DeleteFilesAsync(
31 | DeleteFilesRequest request,
32 | object customData = null,
33 | Dictionary extraHeaders = null);
34 |
35 | ///
36 | /// Finalize file uploads to an entity's profile.
37 | ///
38 | Task> FinalizeFileUploadsAsync(
39 | FinalizeFileUploadsRequest request,
40 | object customData = null,
41 | Dictionary extraHeaders = null);
42 |
43 | ///
44 | /// Retrieves file metadata from an entity's profile.
45 | ///
46 | Task> GetFilesAsync(
47 | GetFilesRequest request,
48 | object customData = null,
49 | Dictionary extraHeaders = null);
50 |
51 | ///
52 | /// Retrieves objects from an entity's profile.
53 | ///
54 | Task> GetObjectsAsync(
55 | GetObjectsRequest request,
56 | object customData = null,
57 | Dictionary extraHeaders = null);
58 |
59 | ///
60 | /// Initiates file uploads to an entity's profile.
61 | ///
62 | Task> InitiateFileUploadsAsync(
63 | InitiateFileUploadsRequest request,
64 | object customData = null,
65 | Dictionary extraHeaders = null);
66 |
67 | ///
68 | /// Sets objects on an entity's profile.
69 | ///
70 | Task> SetObjectsAsync(
71 | SetObjectsRequest request,
72 | object customData = null,
73 | Dictionary extraHeaders = null);
74 | }
75 | }
76 | #endif
77 |
--------------------------------------------------------------------------------
/PlayFabSDK/source/IPlayFabInsightsInstanceAPI.cs:
--------------------------------------------------------------------------------
1 | #if !DISABLE_PLAYFABENTITY_API
2 |
3 | using PlayFab.InsightsModels;
4 | using PlayFab.Internal;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace PlayFab
10 | {
11 | ///
12 | /// Manage the Insights performance level and data storage retention settings.
13 | ///
14 | public interface IPlayFabInsightsInstanceAPI
15 | {
16 | ///
17 | /// Gets the current values for the Insights performance and data storage retention, list of pending operations, and the
18 | /// performance and data storage retention limits.
19 | ///
20 | Task> GetDetailsAsync(
21 | InsightsEmptyRequest request,
22 | object customData = null,
23 | Dictionary extraHeaders = null);
24 |
25 | ///
26 | /// Retrieves the range of allowed values for performance and data storage retention values as well as the submeter details
27 | /// for each performance level.
28 | ///
29 | Task> GetLimitsAsync(
30 | InsightsEmptyRequest request,
31 | object customData = null,
32 | Dictionary extraHeaders = null);
33 |
34 | ///
35 | /// Gets the status of a SetPerformance or SetStorageRetention operation.
36 | ///
37 | Task> GetOperationStatusAsync(
38 | InsightsGetOperationStatusRequest request,
39 | object customData = null,
40 | Dictionary extraHeaders = null);
41 |
42 | ///
43 | /// Gets a list of pending SetPerformance and/or SetStorageRetention operations for the title.
44 | ///
45 | Task> GetPendingOperationsAsync(
46 | InsightsGetPendingOperationsRequest request,
47 | object customData = null,
48 | Dictionary extraHeaders = null);
49 |
50 | ///
51 | /// Sets the Insights performance level value for the title.
52 | ///
53 | Task> SetPerformanceAsync(
54 | InsightsSetPerformanceRequest request,
55 | object customData = null,
56 | Dictionary extraHeaders = null);
57 |
58 | ///
59 | /// Sets the Insights data storage retention days value for the title.
60 | ///
61 | Task> SetStorageRetentionAsync(
62 | InsightsSetStorageRetentionRequest request,
63 | object customData = null,
64 | Dictionary extraHeaders = null);
65 | }
66 | }
67 | #endif
68 |
--------------------------------------------------------------------------------
/PlayFabSDK/source/IPlayFabLocalizationInstanceAPI.cs:
--------------------------------------------------------------------------------
1 | #if !DISABLE_PLAYFABENTITY_API
2 |
3 | using PlayFab.LocalizationModels;
4 | using PlayFab.Internal;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace PlayFab
10 | {
11 | ///
12 | /// The Localization APIs give you the tools needed to manage language setup in your title.
13 | ///
14 | public interface IPlayFabLocalizationInstanceAPI
15 | {
16 | ///
17 | /// Retrieves the list of allowed languages, only accessible by title entities
18 | ///
19 | Task> GetLanguageListAsync(
20 | GetLanguageListRequest request,
21 | object customData = null,
22 | Dictionary extraHeaders = null);
23 | }
24 | }
25 | #endif
26 |
--------------------------------------------------------------------------------
/PlayFabSDK/source/IPlayFabPlugin.cs:
--------------------------------------------------------------------------------
1 | namespace PlayFab
2 | {
3 | ///
4 | /// Base interface of any PlayFab SDK plugin.
5 | ///
6 | public interface IPlayFabPlugin
7 | {
8 | }
9 | }
--------------------------------------------------------------------------------
/PlayFabSDK/source/IPlayFabProfilesInstanceAPI.cs:
--------------------------------------------------------------------------------
1 | #if !DISABLE_PLAYFABENTITY_API
2 |
3 | using PlayFab.ProfilesModels;
4 | using PlayFab.Internal;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace PlayFab
10 | {
11 | ///
12 | /// All PlayFab entities have profiles, which hold top-level properties about the entity. These APIs give you the tools
13 | /// needed to manage entity profiles.
14 | ///
15 | public interface IPlayFabProfilesInstanceAPI
16 | {
17 | ///
18 | /// Gets the global title access policy
19 | ///
20 | Task> GetGlobalPolicyAsync(
21 | GetGlobalPolicyRequest request,
22 | object customData = null,
23 | Dictionary extraHeaders = null);
24 |
25 | ///
26 | /// Retrieves the entity's profile.
27 | ///
28 | Task> GetProfileAsync(
29 | GetEntityProfileRequest request,
30 | object customData = null,
31 | Dictionary extraHeaders = null);
32 |
33 | ///
34 | /// Retrieves the entity's profile.
35 | ///
36 | Task> GetProfilesAsync(
37 | GetEntityProfilesRequest request,
38 | object customData = null,
39 | Dictionary extraHeaders = null);
40 |
41 | ///
42 | /// Retrieves the title player accounts associated with the given master player account.
43 | ///
44 | Task> GetTitlePlayersFromMasterPlayerAccountIdsAsync(
45 | GetTitlePlayersFromMasterPlayerAccountIdsRequest request,
46 | object customData = null,
47 | Dictionary extraHeaders = null);
48 |
49 | ///
50 | /// Retrieves the title player accounts associated with the given XUIDs.
51 | ///
52 | Task> GetTitlePlayersFromXboxLiveIDsAsync(
53 | GetTitlePlayersFromXboxLiveIDsRequest request,
54 | object customData = null,
55 | Dictionary extraHeaders = null);
56 |
57 | ///
58 | /// Update the display name of the entity
59 | ///
60 | Task> SetDisplayNameAsync(
61 | SetDisplayNameRequest request,
62 | object customData = null,
63 | Dictionary extraHeaders = null);
64 |
65 | ///
66 | /// Sets the global title access policy
67 | ///
68 | Task> SetGlobalPolicyAsync(
69 | SetGlobalPolicyRequest request,
70 | object customData = null,
71 | Dictionary extraHeaders = null);
72 |
73 | ///
74 | /// Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account
75 | /// language, Master Player Account language, and then title default language if the first two aren't set or supported.
76 | ///
77 | Task> SetProfileLanguageAsync(
78 | SetProfileLanguageRequest request,
79 | object customData = null,
80 | Dictionary extraHeaders = null);
81 |
82 | ///
83 | /// Sets the profiles access policy
84 | ///
85 | Task> SetProfilePolicyAsync(
86 | SetEntityProfilePolicyRequest request,
87 | object customData = null,
88 | Dictionary extraHeaders = null);
89 | }
90 | }
91 | #endif
92 |
--------------------------------------------------------------------------------
/PlayFabSDK/source/ISerializerPlugin.cs:
--------------------------------------------------------------------------------
1 | namespace PlayFab
2 | {
3 | ///
4 | /// Interface of any data serializer SDK plugin.
5 | ///
6 | public interface ISerializerPlugin : IPlayFabPlugin
7 | {
8 | T DeserializeObject(string serialized);
9 | T DeserializeObject(string serialized, object serializerStrategy);
10 | object DeserializeObject(string serialized);
11 |
12 | string SerializeObject(object obj);
13 | string SerializeObject(object obj, object serializerStrategy);
14 | }
15 | }
--------------------------------------------------------------------------------
/PlayFabSDK/source/ITransportPlugin.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Threading.Tasks;
3 |
4 | namespace PlayFab
5 | {
6 | ///
7 | /// Interface of any transport SDK plugin.
8 | ///
9 | public interface ITransportPlugin : IPlayFabPlugin
10 | {
11 | Task