binana/profile/3.3.5a-windows-386/include/net/neteventqueue.h
superp00t e2399e9d6d
Some checks are pending
Push / build (push) Waiting to run
feat(profile): update many things
2026-05-09 19:12:45 -04:00

28 lines
643 B
C

#ifndef NET_NET_EVENT_QUEUE_H
#define NET_NET_EVENT_QUEUE_H
DECLARE_STRUCT(NETEVENTQUEUENODE);
DECLARE_STRUCT(NETEVENTQUEUE);
#include "event/types.h"
#include "net/netclient.h"
#include "storm/list.h"
#include "storm/thread.h"
// class NETEVENTQUEUENODE : public TSLinkedNode<NETEVENTQUEUENODE>
STORM_TS_LIST(NETEVENTQUEUENODE);
struct NETEVENTQUEUENODE {
EVENTID m_eventId;
uint32_t m_timeReceived;
void* m_data;
uint32_t m_dataSize;
};
// class NETEVENTQUEUE
struct NETEVENTQUEUE {
NetClient* m_client;
SCritSect m_critSect;
TSList_NETEVENTQUEUENODE m_eventQueue;
};
#endif