Every single piece of code wrote today may or not change, but it will probably change because ill find a better way to do it xD
17 lines
258 B
C++
17 lines
258 B
C++
#ifndef CALLBACKS_HPP
|
|
#define CALLBACKS_HPP
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "Defs.hpp"
|
|
#include "Serializer.hpp"
|
|
|
|
void OnMessage(byte sender, byte tag, uint16 subject, byte *data);
|
|
|
|
void OnDisconnect(byte id);
|
|
|
|
void OnConnect(byte id);
|
|
|
|
#endif |