mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-26 15:00:06 +00:00
30 lines
588 B
C++
30 lines
588 B
C++
#pragma once
|
|
|
|
#include "core/Core.hpp"
|
|
|
|
#include "Player.hpp"
|
|
#include "Abilities.hpp"
|
|
|
|
#include <map>
|
|
|
|
struct NanoData {
|
|
int style;
|
|
};
|
|
|
|
struct NanoTuning {
|
|
int reqItemCount;
|
|
int reqItems;
|
|
};
|
|
|
|
namespace Nanos {
|
|
extern std::map<int32_t, NanoData> NanoTable;
|
|
extern std::map<int32_t, NanoTuning> NanoTunings;
|
|
void init();
|
|
|
|
// Helper methods
|
|
void addNano(CNSocket* sock, int16_t nanoID, int16_t slot, bool spendfm=false);
|
|
void summonNano(CNSocket* sock, int slot, bool silent = false);
|
|
int nanoStyle(int nanoID);
|
|
bool getNanoBoost(Player* plr);
|
|
}
|