FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NoahGameFrame/NFComm/NFPluginModule/NFISkillModule.h at develop · ifivebig/NoahGameFrame · GitHub
ifivebig
/
NoahGameFrame
Public
forked from
ketoo/NoahGameFrame
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
NoahGameFrame
/
NFComm
/
NFPluginModule
/
NFISkillModule.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
52 lines (37 loc) · 1.65 KB
Breadcrumbs
NoahGameFrame
/
NFComm
/
NFPluginModule
/
NFISkillModule.h
Copy path
File metadata and controls
52 lines (37 loc) · 1.65 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
-------------------------------------------------------------------------
//
@FileName : NFISkillModule.h
//
@Author : LvSheng.Huang
//
@Date : 2012-12-15
//
@Module : NFISkillModule
//
//
-------------------------------------------------------------------------
#
ifndef
_NFI_SKILL_MODULE_H_
#
define
_NFI_SKILL_MODULE_H_
#
include
<
iostream
>
#
include
"
NFILogicModule.h
"
class
NFISkillModule
: public NFILogicModule
{
public:
//
添加技能
virtual
int
AddSkill
(
const
NFIDENTID
& self,
const
std::string& strSkillName) = 0;
//
当前是否存在技能
virtual
int
ExistSkill
(
const
NFIDENTID
& self,
const
std::string& strSkillName) = 0;
//
设置技能等级
virtual
int
SetSkillLevel
(
const
NFIDENTID
& self,
const
std::string& strSkillName,
const
int
nLevel) = 0;
//
设置技能宝石
virtual
int
SetSkillGem
(
const
NFIDENTID
& self,
const
std::string& strSkillName,
const
std::string& strGemName) = 0;
//
设置技能宝石等级
virtual
int
SetSkillGemLevel
(
const
NFIDENTID
& self,
const
std::string& strSkillName,
const
int
nLevel) = 0;
//
得到技能等级
virtual
int
GetSkillLevel
(
const
NFIDENTID
& self,
const
std::string& strSkillName) = 0;
\
//
得到技能宝石
virtual
std::string
GetSkillGem
(
const
NFIDENTID
& self,
const
std::string& strSkillName) = 0;
//
得到技能宝石等级
virtual
int
GetSkillGemLevel
(
const
NFIDENTID
& self,
const
std::string& strSkillName) = 0;
//
添加新手技能
virtual
int
AddNewerSkill
(
const
NFIDENTID
& self) = 0;
virtual
int
OnUseSkill
(
const
NFIDENTID
& self,
const
NFIDataList& var) = 0;
};
#
endif
Back
|
FazBrowse Home
|
New Git URL