PlayFab / gsdk

Game Server SDK for PlayFab Multiplayer Servers
https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/
Apache License 2.0
146 stars 115 forks source link

Update ConnectedPlayer.h #141

Closed PhyrexianTR closed 1 year ago

PhyrexianTR commented 1 year ago

PlayerId is exposed to the Blueprint due to creating an array struct for the "Update Connected Players" function.

nassosterz-ms commented 1 year ago
MicrosoftTeams-image

This is with main. I am able to make (and also tried breaking) the ConnectedPlayer struct. I understand you want to be able to set player id also when you make the struct, so changing BlueprintReadOnly to BlueprintReadWrite seems reasonable, the other changes dont seem to be needed.

PhyrexianTR commented 1 year ago

image This is what it looks like with PlayerId.

nassosterz-ms commented 1 year ago

Closing this PR since there are conflicts, will re open a new one with the changes that have been suggested. Please feel free to review it!