The github examples show that FunctionContext (which actually doesn't exist anymore and was replaced with FunctionExecutionContext) but the microsoft examples on the site show functionExecutionContext. The github samples who that the context should have currentPlayerId but in the working examples there is no such property. How can I access the currentplayerid in the most up to date way in an azure function?,
I have been going over the examples in the microsoft docs and it seems lots of information is out of date. The examples indicate that we can somehow get CurrentPlayerId from the context but the variable does not exist in FunctionExecutionContext. Which is another thing, the examples point to a type called FunctionContext which is also not update and does not appear in example code. The examples I've seen for internal data don't show how to get playerId.