2019-05-06 04:54:24 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
type ChatWarsMessage struct {
|
2019-05-06 05:59:19 +02:00
|
|
|
UserID64 int64 `json:"user_id"`
|
2019-05-06 04:54:24 +02:00
|
|
|
SenderUserID64 int64 `json:"sender_user_id"`
|
|
|
|
Date int32 `json:"date"`
|
|
|
|
ID64 int64 `json:"id"`
|
|
|
|
ChatID64 int64 `json:"chat_id"`
|
|
|
|
Text string `json:"text"`
|
|
|
|
}
|
2019-05-06 05:59:19 +02:00
|
|
|
|
|
|
|
const (
|
2019-05-07 05:12:03 +02:00
|
|
|
objTypeUser = 1
|
|
|
|
objTypeGuild = 2
|
|
|
|
objTypeMessage = 3
|
|
|
|
objTypeWar = 4
|
|
|
|
objTypeWarReport = 5
|
2019-05-06 05:59:19 +02:00
|
|
|
|
|
|
|
objSubTypeMessageUnprocess = 1
|
|
|
|
objSubTypeMessageUnknown = 2
|
2019-05-07 05:12:03 +02:00
|
|
|
objSubTypeMessageWar = 3
|
|
|
|
objSubTypeMessageMiniWar = 4
|
|
|
|
objSubTypeMessageGuildWar = 5
|
|
|
|
objSubTypeMessageReport = 6
|
|
|
|
objSubTypeMessageGReport = 7
|
|
|
|
objSubTypeMessageQuest = 8
|
|
|
|
objSubTypeMessageFight = 9
|
|
|
|
objSubTypeMessageHero = 10
|
|
|
|
objSubTypeMessageMe = 11
|
|
|
|
objSubTypeMessageInventory = 12
|
2019-05-06 09:25:57 +02:00
|
|
|
|
|
|
|
MQGetMsgWorkers = 3
|
|
|
|
SQLCWMsgWorkers = 6
|
|
|
|
SQLIdentifyMsgWorkers = 6
|
2019-05-06 05:59:19 +02:00
|
|
|
)
|