1
This commit is contained in:
parent
82931b9088
commit
7390a49301
8
server/gameserver/pvedata.cc
Normal file
8
server/gameserver/pvedata.cc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include "pvedata.h"
|
||||||
|
|
||||||
|
void PveData::AddDamageInfo(int sender_id, int receiver_id, float dmg)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
19
server/gameserver/pvedata.h
Normal file
19
server/gameserver/pvedata.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
struct PveData
|
||||||
|
{
|
||||||
|
int wave = 0;
|
||||||
|
int max_wave = 0;
|
||||||
|
int mon_num = 0;
|
||||||
|
int boss_state = 0;
|
||||||
|
|
||||||
|
int refreshed_mon = 0;
|
||||||
|
int killed_num = 0;
|
||||||
|
|
||||||
|
void AddDamageInfo(int sender_id, int receiver_id, float dmg);
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
std::map<int, std::map<int, float>> damage_hash_;
|
||||||
|
|
||||||
|
};
|
@ -7,6 +7,7 @@
|
|||||||
#include "gridservice.h"
|
#include "gridservice.h"
|
||||||
#include "mapservice.h"
|
#include "mapservice.h"
|
||||||
#include "gasdata.h"
|
#include "gasdata.h"
|
||||||
|
#include "pvedata.h"
|
||||||
#include "bornpoint.h"
|
#include "bornpoint.h"
|
||||||
|
|
||||||
namespace MetaData
|
namespace MetaData
|
||||||
@ -73,17 +74,6 @@ struct CarObject
|
|||||||
bool taken = false;
|
bool taken = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PveData
|
|
||||||
{
|
|
||||||
int wave = 0;
|
|
||||||
int max_wave = 0;
|
|
||||||
int mon_num = 0;
|
|
||||||
int boss_state = 0;
|
|
||||||
|
|
||||||
int refreshed_mon = 0;
|
|
||||||
int killed_num = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
class MatchTeam;
|
class MatchTeam;
|
||||||
class Room
|
class Room
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user