Skip to content
shua edited this page Jan 18, 2012 · 2 revisions

When creating a custom network event, you need at least 4 things:

    1. To be inherited from dt::NetworkEvent
    1. A function called const QString GetType() const;
    1. A function called std::shared_ptr<dt::NetworkEvent> Clone() const;
    1. A function called void Serialize(dt::IOPacket& p);
Clone this wiki locally