Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
SkillExtraItems.h
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#ifndef SKYFIRE_SKILL_EXTRA_ITEMS_H
7
#define SKYFIRE_SKILL_EXTRA_ITEMS_H
8
9
#include "
Common.h
"
10
11
// predef classes used in functions
12
class
Player
;
13
// returns true and sets the appropriate info if the player can create extra items with the given spellId
14
bool
CanCreateExtraItems
(
Player
* player,
uint32
spellId,
float
& additionalChance,
uint8
& additionalMax);
15
// function to load the extra item creation info from DB
16
void
LoadSkillExtraItemTable
();
17
#endif
Common.h
uint8
std::uint8_t uint8
Definition
Define.h:79
uint32
std::uint32_t uint32
Definition
Define.h:77
CanCreateExtraItems
bool CanCreateExtraItems(Player *player, uint32 spellId, float &additionalChance, uint8 &additionalMax)
Definition
SkillExtraItems.cpp:101
LoadSkillExtraItemTable
void LoadSkillExtraItemTable()
Definition
SkillExtraItems.cpp:39
Player
Definition
Player.h:1289
src
server
game
Skills
SkillExtraItems.h
Generated on
for Project SkyFire Core by
1.17.0