Gameplay Framework Classes in Multiplayer
Unreal Engine 4 comes with a gameplay framework, which is a set of classes that allow you to create games more easily. The gameplay framework does this by providing built-in common functionality that is present in most games, such as a way to define the game rules (game mode), and a way to control a character (the player controller and pawn/character class). When an instance of a gameplay framework class is created in a multiplayer environment, it can exist on the server, on the clients, and on the owning client, which is the client that has its player controller as the owner of that instance. This means that the instances of the gameplay framework classes will always fall into one of the following categories:
- Server Only: The instances of the class will only exist on the server.
- Server and Clients: The instances of the class will exist on the server and the clients.
- Server and Owning Client: The instances of the class...