GithubHelp home page GithubHelp logo

ashoulson / csharpsdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from playfab/csharpsdk

0.0 1.0 0.0 14.61 MB

SDK for C#/.net environments other than Unity

License: Apache License 2.0

C# 99.48% PowerShell 0.52%

csharpsdk's Introduction

CSharpSDK README

  1. Overview:

SDK for C#/.net environments other than Unity, including Microsoft CLR environments, Mono and Xamarin.

  1. Prerequisites:

To connect to the PlayFab service, your machine must be running TLS v1.2 or better.

  1. Source Code & Key Repository Components:

This package contains three different versions of the PlayFab SDK.

  • PlayFabClientSDK - This version contains only client libraries and is designed for integration with your game client
  • PlayFabServerSDK - Contains server and admin APIs designed to be called from your custom logic server or build process
  • PlayFabSDK - Contains all APIs in one SDK, as well as a unit-test project
  1. Usage Instructions:

  1. All users will want to download the latest SDK: https://github.com/PlayFab/CSharpSDK/releases
  2. For beginners or quick evaluation, please start with the included example project, and add your own logic and api calls. For advanced users, or users with an existing project, please copy the source from one of the SDK folders into your project.
  1. A testTitleData.json file required for example UnitTestRunner project

This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. The testTitleData.json file provides your secret title information to the unit-test project, so it can execute tests in your own PlayFab title.

The format is as follows:

{
	"titleId": "your Game Title ID, found in the settings/credentials section of your dashboard on the website",
	"developerSecretKey": "your PlayFab API Secret Key, found in the settings/credentials section of your dashboard on the website - NEVER SHARE THIS KEY WITH PLAYERS",
	"titleCanUpdateSettings": "false",  // "true" or "false", based on your Allow Client to Post Player Statistics option, found in the settings/general section of your dashboard on the website
	"userName": "testUser", // Arbitrary username, you can change this to any valid username
	"userEmail": "[email protected]", // This email address will be bound to the username above
	"userPassword": "testPassword", // This must be the correct password for the testUser above (if that user does not exist yet, this will be the new password)
	"characterName": "testCharacter" // Arbitrary characterName, you can change this to any valid characterName
}

When running the UnitTestRunner example/testing project, provide the command line inputs " -testInputsFile ". This will read the json file at that location, and attempt to interpret it as the testTitleData.json format.

  1. Troubleshooting:

For a complete list of available APIs, check out the online documentation.

Contact Us

We love to hear from our developer community! Do you have ideas on how we can make our products and services better?

Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services.

Forums, Support and Knowledge Base

  1. Copyright and Licensing Information:

Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/

Full details available within the LICENSE file.

csharpsdk's People

Contributors

jeremy-playfab avatar matt-augustine avatar zac-playfab avatar hungwunfai avatar bvanous avatar

Watchers

Alexander Shoulson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.