test war report

This commit is contained in:
shoopea 2020-02-09 15:55:49 +08:00
parent 255d88aba2
commit e2a2a6e531

5
msg.go
View File

@ -175,7 +175,10 @@ func parseSubTypeMessageStockAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWar
func parseSubTypeMessageReportAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageReportAck, error) {
cwm := ChatWarsMessageReportAck{}
log.Printf("parseSubTypeMessageReport : Extra : %s\n", r.ReplaceAllString(m.Text, "${Extra}"))
extra := r.ReplaceAllString(m.Text, "${Extra}")
if len(extra) > 0 {
log.Printf("parseSubTypeMessageReport : Extra : %s\n")
}
/*
log.Printf("parseSubTypeMessageReport : War report identified\n")
log.Printf("parseSubTypeMessageReport : Castle : %s\n", r.ReplaceAllString(m.Text, "${Castle}"))