LosaDev source snapshot 2019

This commit is contained in:
LosaDev committed 2026-11-07 13:30:45 +07:00
commit c198676e97
20588 files changed
+8812878

No files matched your search

@@ -0,0 +1,32 @@
#pragma once
#include "cSessionTable.h"
class IIocpContext;
class SessionProc
{
public:
static void SendPacket(
IIocpContext* context,
const uint32 command,
const uint8* packet,
const uint32 length);
static void Broadcast(
const uint32 command,
const uint8* packet,
const uint32 length);
public:
static BOOL AddSession(IIocpContext* context);
static BOOL DeleteSession(IIocpContext* context);
public:
static uint32 GetSessionCount();
static cSession* GetSession(const uint32 entity);
static cSession* GetFirstSession();
static cSession* GetNextSession();
};