I'm trying to develop an application and create some sort of local test environment using Node SDK
Server or Client calls actually wrap around MakeRequest which is async and needs a handler function.
So, for example:
var playerInventoryResult = server.GetUserInventory({ PlayFabId: currentPlayerId });
has two outcomes depending where I run it.
1. On CloudScript playerInventoryResult will become the inventory of the player and I can use it right away
2. On my local JS file playerInventoryResult will be undefined
Is there a way to have an unified behaviour? My expectation was that the Node SDK will emulate the cloudscript behaviour.
My aim is to write and test locally and then just upload (i.e. server.GetUserInventory to behave the same for example)