From 09df8099692e6ffefb6cb777cdc5746ec999f645 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 16 Feb 2020 20:41:03 +0800 Subject: [PATCH] test classes --- def.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/def.go b/def.go index 559d74f..e366d71 100644 --- a/def.go +++ b/def.go @@ -70,6 +70,22 @@ type ObjSubType struct { ObjTypeID64 int64 } +type ObjClassif struct { + ID64 int64 + IntlId string `json:"intl_id"` + Name string `json:"name"` + ObjType string `json:"obj_type"` + ObjTypeID64 int64 +} + +type OjbClass struct { + ID64 int64 + IntlId string `json:"intl_id"` + Name string `json:"name"` + ObjClassif string `json:"obj_classif"` + ObjClassifID64 int64 +} + type MQClient struct { User string `json:"user"` Password string `json:"passwd"` @@ -148,6 +164,13 @@ type ChatWarsUser struct { Name string `json:"name"` } +type ChatWarsClass struct { + ClassifID64 int64 + Classif string `json:"classif"` + ClassID64 int64 + Class string `json:"class"` +} + type ChatWarsItem struct { ObjID64 int64 ItemTypeID int64 @@ -159,6 +182,7 @@ type ChatWarsItem struct { Auction bool `json:"auction"` Craftable bool `json:"craftable"` Craft *ChatWarsItemCraft `json:"craft"` + Classes []ChatWarsClass } type ChatWarsItemCraft struct {