coffeeod
started a topic on Sun, 25 January 2015 at 9:44 AM
1) Message Center.
Option to send global message or directly to user which stored under user account
includes type, message, time and player ID (explained below).
allow to define custom messages types from game dashboard (string).
feature to alert if new message is being send, so we can automatic query and display.
Use cases:
Guestbook for players.
Reporting player.
Very basic chat/shoutbox system when querying global messages.
SendMessageRequest request = new SendMessageRequest();
request.type = global/toplayer/report/feedback (define own types);
request.message = message.string.here;
request.time = server.date.and.time;
request.playerID (optional) = to.who.message.is.being.send;
PlayFabClientAPI.SendMessageRequest(request, function.here, OnPlayFabError);
2) PHP integration guide
PlayFab developer could put up simple guide how to query game and user account related information, very simple examples to get quick "cheat sheet", PHP (and mysql) is my use of languages, of course other languages could be included in future.
We have currently setup player community and developer panel system for our games, but not upcoming PlayFab supported since we are no longer using WWW forms via unity like we have been doing in other projects. If we would have quick guide page to check php functions to get data quick, that would be lovely.
If it's possible, we would not want to query passwords (sending that stuff is evil to me).
Example usage:
<simple playfab query here to get data and all that fancy stuff>
$user->session_begin();
$auth->playfabAPI($user->data);
$user->setup();
$user->data['playfabID'];
$user->data['VirtualCurrency["something]'].amount;
Example is of course made up and not something to pay attention, but idea is there.
Features:
Share your great idea, or help out by voting for other people's ideas.