mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
24 lines
685 B
C++
24 lines
685 B
C++
|
#pragma once
|
||
|
|
||
|
#include "Player.hpp"
|
||
|
#include "CNProtocol.hpp"
|
||
|
#include "CNStructs.hpp"
|
||
|
#include "CNShardServer.hpp"
|
||
|
|
||
|
#include <map>
|
||
|
#include <list>
|
||
|
|
||
|
namespace GroupManager {
|
||
|
void init();
|
||
|
|
||
|
void requestGroup(CNSocket* sock, CNPacketData* data);
|
||
|
void refuseGroup(CNSocket* sock, CNPacketData* data);
|
||
|
void joinGroup(CNSocket* sock, CNPacketData* data);
|
||
|
void leaveGroup(CNSocket* sock, CNPacketData* data);
|
||
|
void chatGroup(CNSocket* sock, CNPacketData* data);
|
||
|
void menuChatGroup(CNSocket* sock, CNPacketData* data);
|
||
|
void sendToGroup(Player* plr, void* buf, uint32_t type, size_t size);
|
||
|
void groupTickInfo(Player* plr);
|
||
|
void groupKickPlayer(Player* plr);
|
||
|
}
|