test classes
This commit is contained in:
parent
c7f02df095
commit
09df809969
24
def.go
24
def.go
@ -70,6 +70,22 @@ type ObjSubType struct {
|
|||||||
ObjTypeID64 int64
|
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 {
|
type MQClient struct {
|
||||||
User string `json:"user"`
|
User string `json:"user"`
|
||||||
Password string `json:"passwd"`
|
Password string `json:"passwd"`
|
||||||
@ -148,6 +164,13 @@ type ChatWarsUser struct {
|
|||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ChatWarsClass struct {
|
||||||
|
ClassifID64 int64
|
||||||
|
Classif string `json:"classif"`
|
||||||
|
ClassID64 int64
|
||||||
|
Class string `json:"class"`
|
||||||
|
}
|
||||||
|
|
||||||
type ChatWarsItem struct {
|
type ChatWarsItem struct {
|
||||||
ObjID64 int64
|
ObjID64 int64
|
||||||
ItemTypeID int64
|
ItemTypeID int64
|
||||||
@ -159,6 +182,7 @@ type ChatWarsItem struct {
|
|||||||
Auction bool `json:"auction"`
|
Auction bool `json:"auction"`
|
||||||
Craftable bool `json:"craftable"`
|
Craftable bool `json:"craftable"`
|
||||||
Craft *ChatWarsItemCraft `json:"craft"`
|
Craft *ChatWarsItemCraft `json:"craft"`
|
||||||
|
Classes []ChatWarsClass
|
||||||
}
|
}
|
||||||
|
|
||||||
type ChatWarsItemCraft struct {
|
type ChatWarsItemCraft struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user