FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NoahGameFrame/NFComm/NFPluginModule/NFIPVPModule.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
/
NFIPVPModule.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (36 loc) · 1.08 KB
Breadcrumbs
NoahGameFrame
/
NFComm
/
NFPluginModule
/
NFIPVPModule.h
Copy path
File metadata and controls
46 lines (36 loc) · 1.08 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
//
-------------------------------------------------------------------------
//
@FileName : NFIPVPModule.h
//
@Author : LvSheng.Huang
//
@Date : 2015-01-02
//
@Module : NFIPVPModule
//
//
-------------------------------------------------------------------------
#
ifndef
_NFI_PVP_MODULE_H_
#
define
_NFI_PVP_MODULE_H_
#
include
<
iostream
>
#
include
"
NFILogicModule.h
"
class
NFIPVPModule
: public NFILogicModule
{
public:
struct
PVPCell
{
enum
PVPCellStatus
{
Status_HavePlace =
0
,
Status_Full =
1
,
Status_Start =
2
,
};
enum
PVPCellEnum
{
PVPCell_Player_Count =
6
,
};
int
mnCellStatus;
//
房间状态 0有空位 1满员 2
NFMap<
NFIDENTID
,
int
> mxList;
//
仅限6个人, first = playerID second = is_owner
};
public:
virtual
bool
MatchPVPObject
(
const
NFIDENTID
& self) = 0;
virtual
bool
StartPVPWar
(
const
NFIDENTID
& self) = 0;
virtual
bool
ExitPVPWar
(
const
NFIDENTID
& self) = 0;
};
#
endif
Back
|
FazBrowse Home
|
New Git URL