Hey, so far I've been watching two TNet videos, I'm a beginner developer I'm a bit confused on this part. Assume I want to make a simple chat room. Should I use RFC which on every client there's a remote functions on
- OnPlayerJoin
- OnPlayerSendingMessage
- OnPlayerQuitRoom
- and so on
Or should I just ditch this RFC, and create a custom packets. Add codes on the server, tell it what to do case by case depending on what packet it's receiving.
*New Player Joins -> client send request packet to the server* =>
*server accepts the request -> server sending back list of players that is currenly in the room to that newly joined player*
*a player sending a message -> client send message packet to the server* =>
*server accepts the message packet -> server relays that message to all players in channel*
*etc*
So in short, when I should use RFC and when should i use custom packets? Thanks