mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-29 19:24:42 +00:00
18 lines
403 B
C
18 lines
403 B
C
|
#ifndef OBJDATA_H
|
||
|
#define OBJDATA_H
|
||
|
#include "clientprotocol_global.h"
|
||
|
namespace ClientProtocol {
|
||
|
|
||
|
struct CLIENTPROTOCOLSHARED_EXPORT ObjData {
|
||
|
int id;
|
||
|
unsigned short x;
|
||
|
unsigned short y;
|
||
|
unsigned short rat;
|
||
|
|
||
|
friend QDataStream& operator << (QDataStream& stream, const ObjData& obj);
|
||
|
friend QDataStream& operator >> (QDataStream& stream, ObjData& obj);
|
||
|
|
||
|
};
|
||
|
}
|
||
|
#endif // OBJDATA_H
|