test
This commit is contained in:
parent
335a781458
commit
4f93acedb2
@ -109,8 +109,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
rep := ChatWarsMessageMiniWarCastle{
|
rep := ChatWarsMessageMiniWarCastle{
|
||||||
Gardian: r.ReplaceAllString(m.Text, "${Gardian1}"),
|
Gardian: r.ReplaceAllString(m.Text, "${Gardian1}"),
|
||||||
Result: r.ReplaceAllString(m.Text, "${Result1}"),
|
Result: r.ReplaceAllString(m.Text, "${Result1}"),
|
||||||
Gold: g,
|
Gold: int32(g),
|
||||||
Stock: s,
|
Stock: int32(s),
|
||||||
}
|
}
|
||||||
cwm.Report[r.ReplaceAllString(m.Text, "${Loot1}")] = rep
|
cwm.Report[r.ReplaceAllString(m.Text, "${Loot1}")] = rep
|
||||||
g, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold2}"))
|
g, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold2}"))
|
||||||
@ -118,8 +118,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
rep = ChatWarsMessageMiniWarCastle{
|
rep = ChatWarsMessageMiniWarCastle{
|
||||||
Gardian: r.ReplaceAllString(m.Text, "${Gardian2}"),
|
Gardian: r.ReplaceAllString(m.Text, "${Gardian2}"),
|
||||||
Result: r.ReplaceAllString(m.Text, "${Result2}"),
|
Result: r.ReplaceAllString(m.Text, "${Result2}"),
|
||||||
Gold: g,
|
Gold: int32(g),
|
||||||
Stock: s,
|
Stock: int32(s),
|
||||||
}
|
}
|
||||||
cwm.Report[r.ReplaceAllString(m.Text, "${Loot2}")] = rep
|
cwm.Report[r.ReplaceAllString(m.Text, "${Loot2}")] = rep
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user