chirpnest/def.go
2019-05-06 15:25:57 +08:00

31 lines
724 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
objSubTypeMessageUnprocess = 1
objSubTypeMessageUnknown = 2
objSubTypeMessageReport = 3
objSubTypeMessageGReport = 4
objSubTypeMessageQuest = 5
objSubTypeMessageFight = 6
objSubTypeMessageHero = 7
objSubTypeMessageMe = 8
objSubTypeMessageInventory = 9
MQGetMsgWorkers = 3
SQLCWMsgWorkers = 6
SQLIdentifyMsgWorkers = 6
)