Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
you can get energy by looking at player object
but gems?
Offline
Login on their userid with public connection and refresh their vault.
I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.
Offline
Login on their userid with public connection and refresh their vault.
I can't find gems. Or maybe I do something wrong?
Offline
Processor wrote:Login on their userid with public connection and refresh their vault.
I can't find gems. Or maybe I do something wrong?
This works fine for me, based on Processor's answer:
var arguments = new Dictionary<string, string>
{
{ "userId", "simple1299854374781x44" }
};
var client = PlayerIO.Authenticate("everybody-edits-su9rn58o40itdbnw69plyw", "Public", arguments, null);
client.PayVault.Refresh(() => {
Console.WriteLine(client.PayVault.Coins);
});
Offline
capasha wrote:Processor wrote:Login on their userid with public connection and refresh their vault.
I can't find gems. Or maybe I do something wrong?
This works fine for me, based on Processor's answer:
var arguments = new Dictionary<string, string> { { "userId", "simple1299854374781x44" } }; var client = PlayerIO.Authenticate("everybody-edits-su9rn58o40itdbnw69plyw", "Public", arguments, null); client.PayVault.Refresh(() => { Console.WriteLine(client.PayVault.Coins); });
I was reading from items. The reason I didn't find it :/
Offline
Pages: 1
[ Started around 1732393491.0414 - Generated in 0.083 seconds, 12 queries executed - Memory usage: 1.42 MiB (Peak: 1.54 MiB) ]