mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-04 22:40:05 +00:00
Jade
d99dad261c
* Entering/exiting groups should apply/remove group buffs. * Fixed issues with nanos losing all stamina from various revives/warp away. * Heavily tweaked damage formula, nano types now boost/decrease damage. * Weapons can consume battery returning extra damage, battery consumed depends on enemy level.
26 lines
755 B
C++
26 lines
755 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);
|
|
void groupUnbuff(Player* plr);
|
|
int getGroupFlags(Player* plr);
|
|
}
|