Callbacks are done - maybe ill add a few more later - i dont know if they will work correctly yet Fixed the Serialization class Added internal tags - for now it only has CONNECT and DISCONNECT - maybe ill add more later Fixed some data type parameters in some functions
17 lines
266 B
C++
17 lines
266 B
C++
#ifndef CALLBACKS_HPP
|
|
#define CALLBACKS_HPP
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "Defs.hpp"
|
|
#include "Serializer.hpp"
|
|
|
|
void OnMessage(uint16 sender, uint16 tag, uint16 subject, void *data);
|
|
|
|
void OnDisconnect(uint16 id);
|
|
|
|
void OnConnect(uint16 id);
|
|
|
|
#endif |