Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

How to create a base class for messages

$
0
0
Hello, I'm creating a network based logic UNet HLAPI. I'm created a base message class that derives from MessageBase, which contains the object ID to which the communication is directed. All other messages are derived from him, but when sending a message ID in the base class is lost, even though the child variables transmitted. What could be the reason for the loss of a variable, and whether it is possible to create your base class message?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>