When sending match state data to the server backend to be processed in the match loop, you can pass in the list of IUserPresence - like so:
public async void KickPresences(IUserPresence[] presences)
{
await connection.socket.SendMatchStateAsync(localMatchData.matchID, OpCodes.kick, JsonWriter.ToJson("Kicking"), presences);
}
I cannot however see in the match loop arguments, where this list of presences is made available. How do I lift the enumeration of IUserPresence in the match loop?
Thanks in advance.