1
This commit is contained in:
parent
758a9ee810
commit
43f2302b0f
0
server/gameserver/mt/AirLine.cc
Normal file
0
server/gameserver/mt/AirLine.cc
Normal file
0
server/gameserver/mt/AirLine.h
Normal file
0
server/gameserver/mt/AirLine.h
Normal file
0
server/gameserver/mt/AirRaid.cc
Normal file
0
server/gameserver/mt/AirRaid.cc
Normal file
0
server/gameserver/mt/AirRaid.h
Normal file
0
server/gameserver/mt/AirRaid.h
Normal file
0
server/gameserver/mt/Buff.cc
Normal file
0
server/gameserver/mt/Buff.cc
Normal file
0
server/gameserver/mt/Buff.h
Normal file
0
server/gameserver/mt/Buff.h
Normal file
0
server/gameserver/mt/Dress.cc
Normal file
0
server/gameserver/mt/Dress.cc
Normal file
0
server/gameserver/mt/Dress.h
Normal file
0
server/gameserver/mt/Dress.h
Normal file
0
server/gameserver/mt/Drop.cc
Normal file
0
server/gameserver/mt/Drop.cc
Normal file
0
server/gameserver/mt/Drop.h
Normal file
0
server/gameserver/mt/Drop.h
Normal file
@ -23,4 +23,9 @@ namespace mt
|
|||||||
class KillPoint;
|
class KillPoint;
|
||||||
class AI;
|
class AI;
|
||||||
class Robot;
|
class Robot;
|
||||||
|
class AirLine;
|
||||||
|
class AirRaid;
|
||||||
|
class Dress;
|
||||||
|
class Drop;
|
||||||
|
class NpcStandard;
|
||||||
}
|
}
|
||||||
|
0
server/gameserver/mt/MapThing.cc
Normal file
0
server/gameserver/mt/MapThing.cc
Normal file
0
server/gameserver/mt/MapThing.h
Normal file
0
server/gameserver/mt/MapThing.h
Normal file
@ -21,6 +21,11 @@
|
|||||||
#include "mt/KillPoint.h"
|
#include "mt/KillPoint.h"
|
||||||
#include "mt/AI.h"
|
#include "mt/AI.h"
|
||||||
#include "mt/Robot.h"
|
#include "mt/Robot.h"
|
||||||
|
#include "mt/AirLine.h"
|
||||||
|
#include "mt/AirRaid.h"
|
||||||
|
#include "mt/Dress.h"
|
||||||
|
#include "mt/Drop.h"
|
||||||
|
#include "mt/NpcStandard.h"
|
||||||
|
|
||||||
#include "app.h"
|
#include "app.h"
|
||||||
|
|
||||||
@ -67,6 +72,11 @@ namespace mt
|
|||||||
RegMetaTable<KillReward>(res_path_);
|
RegMetaTable<KillReward>(res_path_);
|
||||||
RegMetaTable<AI>(res_path_);
|
RegMetaTable<AI>(res_path_);
|
||||||
RegMetaTable<Robot>(res_path_);
|
RegMetaTable<Robot>(res_path_);
|
||||||
|
RegMetaTable<AirLine>(res_path_);
|
||||||
|
RegMetaTable<AirRaid>(res_path_);
|
||||||
|
RegMetaTable<Dress>(res_path_);
|
||||||
|
RegMetaTable<Drop>(res_path_);
|
||||||
|
RegMetaTable<NpcStandard>(res_path_);
|
||||||
{
|
{
|
||||||
for (auto& itr : meta_tables) {
|
for (auto& itr : meta_tables) {
|
||||||
itr->static_pre_init_cb();
|
itr->static_pre_init_cb();
|
||||||
|
0
server/gameserver/mt/NpcStandard.cc
Normal file
0
server/gameserver/mt/NpcStandard.cc
Normal file
0
server/gameserver/mt/NpcStandard.h
Normal file
0
server/gameserver/mt/NpcStandard.h
Normal file
0
server/gameserver/mt/SafeArea.cc
Normal file
0
server/gameserver/mt/SafeArea.cc
Normal file
0
server/gameserver/mt/SafeArea.h
Normal file
0
server/gameserver/mt/SafeArea.h
Normal file
@ -227,15 +227,6 @@ message SkillNumber
|
|||||||
optional int32 explosion_effect = 13;
|
optional int32 explosion_effect = 13;
|
||||||
}
|
}
|
||||||
|
|
||||||
message NpcStandard
|
|
||||||
{
|
|
||||||
required int32 id = 1;
|
|
||||||
optional int32 quality = 2;
|
|
||||||
optional int32 hp = 3;
|
|
||||||
optional int32 damage = 4;
|
|
||||||
optional int32 defence = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message Buff
|
message Buff
|
||||||
{
|
{
|
||||||
required int32 buff_id = 1;
|
required int32 buff_id = 1;
|
||||||
@ -270,49 +261,3 @@ message Buff
|
|||||||
optional int32 disable_shot = 32;
|
optional int32 disable_shot = 32;
|
||||||
optional int32 disable_useskill = 33;
|
optional int32 disable_useskill = 33;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Drop
|
|
||||||
{
|
|
||||||
optional int32 drop_id = 1;
|
|
||||||
optional string item_id = 2;
|
|
||||||
optional string num = 3;
|
|
||||||
optional string weight = 4;
|
|
||||||
optional int32 type = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message AirDrop
|
|
||||||
{
|
|
||||||
optional int32 id = 1;
|
|
||||||
optional int32 time = 2;
|
|
||||||
optional int32 appear_time = 3;
|
|
||||||
optional string drop_id = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
message AirRaid
|
|
||||||
{
|
|
||||||
optional int32 id = 1;
|
|
||||||
optional int32 time = 2;
|
|
||||||
optional int32 appear_time = 3;
|
|
||||||
optional string bomb_id = 4;
|
|
||||||
optional string raid_wave = 5;
|
|
||||||
optional float rad = 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
message AirLine
|
|
||||||
{
|
|
||||||
optional int32 id = 1;
|
|
||||||
optional string start_point = 2;
|
|
||||||
optional string end_point = 3;
|
|
||||||
optional float plane_speed = 4;
|
|
||||||
optional int32 weight = 5;
|
|
||||||
optional int32 map_id = 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
message Dress
|
|
||||||
{
|
|
||||||
optional int32 id = 1;
|
|
||||||
optional int32 level = 2;
|
|
||||||
optional int32 skill_id = 3;
|
|
||||||
optional string attr_type = 4;
|
|
||||||
optional int32 max_lv = 5;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user