Skip to content
Paul Gilmore edited this page Sep 6, 2016 · 3 revisions

Welcome to the PlayFab LuaSdk wiki!

This article describes community development for adding HTTPS interfaces for various Lua based game engines. Unlike many of our other PlayFab SDK Languages, Lua does not have a built-in mechanism for making HTTPS calls. As such, we have built the LuaSdk to be directly extensible by our developers.

If our SDK does not cover a specific game engine, and you have the necessary knowledge to implement HTTPS calls in that engine, please feel free to submit a an IHttps wrapper which redirects PlayFab HTTPS calls into the proper HTTPS method for the engine.

Here are some source files that describe how to use the IHttps interface (IPlayFabHttps.lua), and an example file for implementation (PlayFabHttps_Defold.lua)

Here is an example source file for initializing a custom IHttps wrapper in a project:

Please note some additional guidelines for submitting IHttps wrappers for other engines:

  • Be sure to include a comment at the top of the file with your safe-for-work name, company name, and/or gamer-tag
  • HTTPS interface Submissions must be a single lua script file, open source, and not copyrighted
  • HTTPS interface Submissions may be accepted or rejected based on standards decided by PlayFab
  • HTTPS interface Submissions may not alter existing SDK source files
  • You may submit your IHttps interface via GitHub Pull Request, or via our support website
Clone this wiki locally