Ultimately what I want is for the server to read a particular kind of packet and validate it (which it's doing), and then instead of echoing that packet to clients I want to create and send a different packet. The way I was trying to do this was by modifying the GameServer class itself. It seems like this isn't in line with how TNet has been designed, but it seems like an easy way to make the server authoritative.
So, could I then send an RFC from the GameServer class? If this is not possible, I'm guessing I need a 'host' client to send the RFC, in which case I'll just auto instantiate this host on the server when it starts, and then make sure all other client packets are directed to this host.
Do you think this is a reasonable way to achieve what I'm going for? Should I be trying something else instead?
Thanks