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

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

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