Skip to content

This is the Cloud Script used for the internal testing of all SDKs.

License

Notifications You must be signed in to change notification settings

Sprakle/SdkTestingCloudScript

 
 

Repository files navigation

Sdk-Testing Cloud Script README

Cloud Script example, and TypeScript typings for PlayFab Cloud Script Environment

Cloud Script is optional. It allows you to define logic that runs on a secure PlayFab server. TypeScript is additionally optional, as it allows you to write your Cloud Script with additional validation.

  1. Overview:

This project serves several purposes:

  1. Demonstrate a repository linked to your PlayFab title, which automatically populates the Cloud Script for your title
  • All *.js files are merged, and then that merged file becomes your title's Cloud Script
  1. Provide you a working Cloud Script file

  2. Demonstrate the Cloud Script typings file which will define the PlayFab environment for you

  3. Using Cloud Script


For more information about Cloud Script, consult our guide

  1. TypeScript

The PlayFab Cloud Script feature does not utilize TypeScript directly. TypeScript is a superset of JavaScript, which provides strong typing and validation for JavaScript. You can write your Cloud Script in TypeScript, generate the corresponding JavaScript, and submit the JavaScript to your title.

Here is a starting place if you wish to learn TypeScript

  1. Acknowledgements

CloudScript.d.ts was created using our SdkGenerator by Joshua Strunk @ Flying Car Games Inc

  1. Troubleshooting:

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.

About

This is the Cloud Script used for the internal testing of all SDKs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%