1
This commit is contained in:
parent
0ec3f70199
commit
db4f0e676a
@ -8,16 +8,7 @@
|
|||||||
|
|
||||||
#include "cs_proto.pb.h"
|
#include "cs_proto.pb.h"
|
||||||
|
|
||||||
struct RollMsgHintInfo
|
bool RollMsgHintInfo::Replace(int idx, std::string& text)
|
||||||
{
|
|
||||||
std::string master_name;
|
|
||||||
std::string killer_name;
|
|
||||||
std::string dead_name;
|
|
||||||
std::string weapon_text_icon;
|
|
||||||
|
|
||||||
std::vector<std::tuple<int, std::string>>* hint_template = nullptr;
|
|
||||||
|
|
||||||
bool Replace(int idx, std::string& text)
|
|
||||||
{
|
{
|
||||||
switch (idx) {
|
switch (idx) {
|
||||||
case kFieldIdxMasterName:
|
case kFieldIdxMasterName:
|
||||||
@ -49,8 +40,6 @@ struct RollMsgHintInfo
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
void KillMgr::Init()
|
void KillMgr::Init()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -17,8 +17,18 @@ struct KillInfo
|
|||||||
std::string real_killer_name;
|
std::string real_killer_name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct RollMsgHintInfo
|
||||||
|
{
|
||||||
|
std::string master_name;
|
||||||
|
std::string killer_name;
|
||||||
|
std::string dead_name;
|
||||||
|
std::string weapon_text_icon;
|
||||||
|
|
||||||
|
std::vector<std::tuple<int, std::string>>* hint_template = nullptr;
|
||||||
|
bool Replace(int idx, std::string& text);
|
||||||
|
};
|
||||||
|
|
||||||
class Human;
|
class Human;
|
||||||
struct RollMsgHintInfo;
|
|
||||||
class KillMgr : public a8::Singleton<KillMgr>
|
class KillMgr : public a8::Singleton<KillMgr>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user