2023-10-31 23:19:52 +00:00
|
|
|
package person
|
|
|
|
|
|
|
|
import "github.com/ectrc/snow/aid"
|
|
|
|
|
|
|
|
type FullProfileUpdate struct {
|
|
|
|
ChangeType string `json:"changeType"`
|
2024-02-14 23:07:05 +00:00
|
|
|
Profile interface{} `json:"profile"`
|
2023-10-31 23:19:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type StatModified struct {
|
|
|
|
ChangeType string `json:"changeType"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Value interface{} `json:"value"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ItemAdded struct {
|
|
|
|
ChangeType string `json:"changeType"`
|
|
|
|
ItemId string `json:"itemId"`
|
|
|
|
Item aid.JSON `json:"item"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ItemRemoved struct {
|
|
|
|
ChangeType string `json:"changeType"`
|
|
|
|
ItemId string `json:"itemId"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ItemAttributeChanged struct {
|
|
|
|
ChangeType string `json:"changeType"`
|
|
|
|
ItemId string `json:"itemId"`
|
|
|
|
AttributeName string `json:"attributeName"`
|
|
|
|
AttributeValue interface{} `json:"attributeValue"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ItemQuantityChanged struct {
|
|
|
|
ChangeType string `json:"changeType"`
|
|
|
|
ItemId string `json:"itemId"`
|
|
|
|
Quantity int `json:"quantity"`
|
|
|
|
}
|