mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
20 lines
738 B
C++
20 lines
738 B
C++
#pragma once
|
|
|
|
#include "CNShardServer.hpp"
|
|
|
|
namespace NanoManager {
|
|
void init();
|
|
void nanoSummonHandler(CNSocket* sock, CNPacketData* data);
|
|
void nanoEquipHandler(CNSocket* sock, CNPacketData* data);
|
|
void nanoUnEquipHandler(CNSocket* sock, CNPacketData* data);
|
|
void nanoGMGiveHandler(CNSocket* sock, CNPacketData* data);
|
|
void nanoSkillUseHandler(CNSocket* sock, CNPacketData* data);
|
|
void nanoSkillSetHandler(CNSocket* sock, CNPacketData* data);
|
|
|
|
// Helper methods
|
|
void addNano(CNSocket* sock, int16_t nanoId, int16_t slot);
|
|
void summonNano(CNSocket* sock, int slot);
|
|
void setNanoSkill(CNSocket* sock, int16_t nanoId, int16_t skillId);
|
|
void resetNanoSkill(CNSocket* sock, int16_t nanoId);
|
|
}
|