test
This commit is contained in:
parent
959ffa7c17
commit
335a781458
@ -106,16 +106,16 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
}
|
}
|
||||||
g, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold1}"))
|
g, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold1}"))
|
||||||
s, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock1}"))
|
s, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock1}"))
|
||||||
rep := ChatWarsMessageMiniWarReport{
|
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: g,
|
||||||
Stock: s,
|
Stock: 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}"))
|
||||||
s, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock2}"))
|
s, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock2}"))
|
||||||
rep = ChatWarsMessageMiniWarReport{
|
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: g,
|
||||||
|
Loading…
Reference in New Issue
Block a user