Hi,
I’ve managed to use PlayFab lua sdk to login PlayFab and get a session token.
I know how to run a linux or windows headless game and pass config info to it (sys.get_config(“some_param”)) (in case I need to pass in server ip etc).
However I don’t know how or where I can write code for the game to receive events from external sources (as in player 1 just told me they fired a gun at xyz position).
My initial plan is to have one of the players be the host.
Actually this question isn’t even about PlayFab or whether one of the players is the host or not, this question is whether I am wrong in assuming that in theory I could just run a headless on my windows 10 pro machine and then run an instance on my android phone pointing to the computer/server and pass events back and forth.
Is there a mechanism for that or I’m I missing something?
I don’t want any logic to run on a server (unless it’s the hedless game itself running in a vm in the server like PlayFab can do).
Any pointers would be great, thank you.