How can this player controller client function get the gamemode?

Samathan
Sun, 16 Jan 2022 06:27:19 +0000
C++

This is some blueprint from Unreal’s multiplayer shootout demo which I’m trying to replicate in C++. How does this work?:

A client function called in the player controller class.

I thought that clients can’t get the gamemode, so “Get Game Mode” should fail. Why doesn’t it?

Edit: the link to the demo I’m talking about.

9 posts - 5 participants