I am trying to follow a tutorial, but instead of using blueprints, I am using C++. For the most part I have had no problems, but one thing I am stuck on is replicating “custom events” in C++. I figured it was just a regular function, but it seems like it has some special properties.
This is the custom event I am trying to recreate. I have defined “ClientPostLogin” as a function in my character controller, but I’m guessing there’s some macro I need? I need to be able to replicate it, which is very confusing because there’s no such thing as telling a function to replicate, I think?