Summary
In this chapter, you learned how to use RPCs to allow the server and the clients to execute logic on one another. You also learned how enumerations work in Unreal Engine by using the UENUM
macro and how to use array index wrapping, which helps you iterate an array in both directions and loops around when you go beyond its index limits.
By completing this chapter’s activity, you learned how to develop a basic playable game where players can shoot each other and switch between their weapons.
In the next chapter, we’ll learn where the instances of the most common gameplay framework classes exist in multiplayer, as well as learn about the Player State
and Game State
classes. We’ll also cover some new concepts in the game mode that are used in multiplayer matches, as well as some useful general-purpose, built-in functionality.