chirpnest/def.go
2019-05-07 11:12:03 +08:00

36 lines
873 B
Go

package main
type ChatWarsMessage struct {
UserID64 int64 `json:"user_id"`
SenderUserID64 int64 `json:"sender_user_id"`
Date int32 `json:"date"`
ID64 int64 `json:"id"`
ChatID64 int64 `json:"chat_id"`
Text string `json:"text"`
}
const (
objTypeUser = 1
objTypeGuild = 2
objTypeMessage = 3
objTypeWar = 4
objTypeWarReport = 5
objSubTypeMessageUnprocess = 1
objSubTypeMessageUnknown = 2
objSubTypeMessageWar = 3
objSubTypeMessageMiniWar = 4
objSubTypeMessageGuildWar = 5
objSubTypeMessageReport = 6
objSubTypeMessageGReport = 7
objSubTypeMessageQuest = 8
objSubTypeMessageFight = 9
objSubTypeMessageHero = 10
objSubTypeMessageMe = 11
objSubTypeMessageInventory = 12
MQGetMsgWorkers = 3
SQLCWMsgWorkers = 6
SQLIdentifyMsgWorkers = 6
)