1
0

fix game story

This commit is contained in:
2024-06-08 01:02:15 +09:00
parent e508a50025
commit a01e86d8b3
21 changed files with 2291 additions and 85 deletions

File diff suppressed because it is too large Load Diff

View File

@ -265,6 +265,8 @@ type CardOwnerRead struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -505,6 +507,16 @@ func (s *CardOwnerRead) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *CardOwnerRead) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *CardOwnerRead) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *CardOwnerRead) GetCoin() OptInt {
return s.Coin
@ -755,6 +767,16 @@ func (s *CardOwnerRead) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *CardOwnerRead) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *CardOwnerRead) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *CardOwnerRead) SetCoin(val OptInt) {
s.Coin = val
@ -1577,6 +1599,8 @@ type CreateUeReq struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
CreatedAt OptDateTime `json:"created_at"`
Owner int `json:"owner"`
}
@ -1686,6 +1710,16 @@ func (s *CreateUeReq) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *CreateUeReq) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *CreateUeReq) GetGameEp() OptString {
return s.GameEp
}
// GetCreatedAt returns the value of CreatedAt.
func (s *CreateUeReq) GetCreatedAt() OptDateTime {
return s.CreatedAt
@ -1801,6 +1835,16 @@ func (s *CreateUeReq) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *CreateUeReq) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *CreateUeReq) SetGameEp(val OptString) {
s.GameEp = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *CreateUeReq) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
@ -1860,6 +1904,8 @@ type CreateUserReq struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -2109,6 +2155,16 @@ func (s *CreateUserReq) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *CreateUserReq) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *CreateUserReq) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *CreateUserReq) GetCoin() OptInt {
return s.Coin
@ -2384,6 +2440,16 @@ func (s *CreateUserReq) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *CreateUserReq) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *CreateUserReq) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *CreateUserReq) SetCoin(val OptInt) {
s.Coin = val
@ -2614,6 +2680,8 @@ type GroupUsersList struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -2854,6 +2922,16 @@ func (s *GroupUsersList) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *GroupUsersList) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *GroupUsersList) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *GroupUsersList) GetCoin() OptInt {
return s.Coin
@ -3104,6 +3182,16 @@ func (s *GroupUsersList) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *GroupUsersList) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *GroupUsersList) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *GroupUsersList) SetCoin(val OptInt) {
s.Coin = val
@ -3706,6 +3794,8 @@ type MaOwnerRead struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -3946,6 +4036,16 @@ func (s *MaOwnerRead) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *MaOwnerRead) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *MaOwnerRead) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *MaOwnerRead) GetCoin() OptInt {
return s.Coin
@ -4196,6 +4296,16 @@ func (s *MaOwnerRead) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *MaOwnerRead) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *MaOwnerRead) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *MaOwnerRead) SetCoin(val OptInt) {
s.Coin = val
@ -5492,6 +5602,8 @@ type SevOwnerRead struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -5732,6 +5844,16 @@ func (s *SevOwnerRead) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *SevOwnerRead) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *SevOwnerRead) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *SevOwnerRead) GetCoin() OptInt {
return s.Coin
@ -5982,6 +6104,16 @@ func (s *SevOwnerRead) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *SevOwnerRead) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *SevOwnerRead) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *SevOwnerRead) SetCoin(val OptInt) {
s.Coin = val
@ -6275,6 +6407,8 @@ type UeCreate struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -6378,6 +6512,16 @@ func (s *UeCreate) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *UeCreate) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *UeCreate) GetGameEp() OptString {
return s.GameEp
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeCreate) GetCreatedAt() OptDateTime {
return s.CreatedAt
@ -6483,6 +6627,16 @@ func (s *UeCreate) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *UeCreate) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *UeCreate) SetGameEp(val OptString) {
s.GameEp = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeCreate) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
@ -6512,6 +6666,8 @@ type UeList struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -6615,6 +6771,16 @@ func (s *UeList) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *UeList) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *UeList) GetGameEp() OptString {
return s.GameEp
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeList) GetCreatedAt() OptDateTime {
return s.CreatedAt
@ -6720,6 +6886,16 @@ func (s *UeList) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *UeList) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *UeList) SetGameEp(val OptString) {
s.GameEp = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeList) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
@ -6774,6 +6950,8 @@ type UeOwnerRead struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -7014,6 +7192,16 @@ func (s *UeOwnerRead) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *UeOwnerRead) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *UeOwnerRead) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *UeOwnerRead) GetCoin() OptInt {
return s.Coin
@ -7264,6 +7452,16 @@ func (s *UeOwnerRead) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *UeOwnerRead) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *UeOwnerRead) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *UeOwnerRead) SetCoin(val OptInt) {
s.Coin = val
@ -7303,6 +7501,8 @@ type UeRead struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -7406,6 +7606,16 @@ func (s *UeRead) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *UeRead) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *UeRead) GetGameEp() OptString {
return s.GameEp
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeRead) GetCreatedAt() OptDateTime {
return s.CreatedAt
@ -7511,6 +7721,16 @@ func (s *UeRead) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *UeRead) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *UeRead) SetGameEp(val OptString) {
s.GameEp = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeRead) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
@ -7540,6 +7760,8 @@ type UeUpdate struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -7643,6 +7865,16 @@ func (s *UeUpdate) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *UeUpdate) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *UeUpdate) GetGameEp() OptString {
return s.GameEp
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UeUpdate) GetCreatedAt() OptDateTime {
return s.CreatedAt
@ -7748,6 +7980,16 @@ func (s *UeUpdate) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *UeUpdate) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *UeUpdate) SetGameEp(val OptString) {
s.GameEp = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UeUpdate) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
@ -8272,6 +8514,8 @@ type UpdateUeReq struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
Owner OptInt `json:"owner"`
}
@ -8375,6 +8619,16 @@ func (s *UpdateUeReq) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *UpdateUeReq) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *UpdateUeReq) GetGameEp() OptString {
return s.GameEp
}
// GetOwner returns the value of Owner.
func (s *UpdateUeReq) GetOwner() OptInt {
return s.Owner
@ -8480,6 +8734,16 @@ func (s *UpdateUeReq) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *UpdateUeReq) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *UpdateUeReq) SetGameEp(val OptString) {
s.GameEp = val
}
// SetOwner sets the value of Owner.
func (s *UpdateUeReq) SetOwner(val OptInt) {
s.Owner = val
@ -8531,6 +8795,8 @@ type UpdateUserReq struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -8765,6 +9031,16 @@ func (s *UpdateUserReq) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *UpdateUserReq) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *UpdateUserReq) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *UpdateUserReq) GetCoin() OptInt {
return s.Coin
@ -9025,6 +9301,16 @@ func (s *UpdateUserReq) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *UpdateUserReq) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *UpdateUserReq) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *UpdateUserReq) SetCoin(val OptInt) {
s.Coin = val
@ -9212,6 +9498,8 @@ type UserCreate struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -9452,6 +9740,16 @@ func (s *UserCreate) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *UserCreate) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *UserCreate) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *UserCreate) GetCoin() OptInt {
return s.Coin
@ -9702,6 +10000,16 @@ func (s *UserCreate) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *UserCreate) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *UserCreate) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *UserCreate) SetCoin(val OptInt) {
s.Coin = val
@ -9768,6 +10076,8 @@ type UserList struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -10008,6 +10318,16 @@ func (s *UserList) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *UserList) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *UserList) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *UserList) GetCoin() OptInt {
return s.Coin
@ -10258,6 +10578,16 @@ func (s *UserList) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *UserList) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *UserList) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *UserList) SetCoin(val OptInt) {
s.Coin = val
@ -10568,6 +10898,8 @@ type UserRead struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -10808,6 +11140,16 @@ func (s *UserRead) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *UserRead) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *UserRead) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *UserRead) GetCoin() OptInt {
return s.Coin
@ -11058,6 +11400,16 @@ func (s *UserRead) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *UserRead) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *UserRead) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *UserRead) SetCoin(val OptInt) {
s.Coin = val
@ -11222,6 +11574,8 @@ type UserUeList struct {
GameLv OptString `json:"game_lv"`
GameExp OptString `json:"game_exp"`
GameID OptString `json:"game_id"`
GameStory OptInt `json:"game_story"`
GameEp OptString `json:"game_ep"`
CreatedAt OptDateTime `json:"created_at"`
}
@ -11325,6 +11679,16 @@ func (s *UserUeList) GetGameID() OptString {
return s.GameID
}
// GetGameStory returns the value of GameStory.
func (s *UserUeList) GetGameStory() OptInt {
return s.GameStory
}
// GetGameEp returns the value of GameEp.
func (s *UserUeList) GetGameEp() OptString {
return s.GameEp
}
// GetCreatedAt returns the value of CreatedAt.
func (s *UserUeList) GetCreatedAt() OptDateTime {
return s.CreatedAt
@ -11430,6 +11794,16 @@ func (s *UserUeList) SetGameID(val OptString) {
s.GameID = val
}
// SetGameStory sets the value of GameStory.
func (s *UserUeList) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameEp sets the value of GameEp.
func (s *UserUeList) SetGameEp(val OptString) {
s.GameEp = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *UserUeList) SetCreatedAt(val OptDateTime) {
s.CreatedAt = val
@ -11484,6 +11858,8 @@ type UserUpdate struct {
GameAccount OptBool `json:"game_account"`
GameLv OptInt `json:"game_lv"`
GameExp OptInt `json:"game_exp"`
GameStory OptInt `json:"game_story"`
GameLimit OptBool `json:"game_limit"`
Coin OptInt `json:"coin"`
CoinOpen OptBool `json:"coin_open"`
CoinAt OptDateTime `json:"coin_at"`
@ -11724,6 +12100,16 @@ func (s *UserUpdate) GetGameExp() OptInt {
return s.GameExp
}
// GetGameStory returns the value of GameStory.
func (s *UserUpdate) GetGameStory() OptInt {
return s.GameStory
}
// GetGameLimit returns the value of GameLimit.
func (s *UserUpdate) GetGameLimit() OptBool {
return s.GameLimit
}
// GetCoin returns the value of Coin.
func (s *UserUpdate) GetCoin() OptInt {
return s.Coin
@ -11974,6 +12360,16 @@ func (s *UserUpdate) SetGameExp(val OptInt) {
s.GameExp = val
}
// SetGameStory sets the value of GameStory.
func (s *UserUpdate) SetGameStory(val OptInt) {
s.GameStory = val
}
// SetGameLimit sets the value of GameLimit.
func (s *UserUpdate) SetGameLimit(val OptBool) {
s.GameLimit = val
}
// SetCoin sets the value of Coin.
func (s *UserUpdate) SetCoin(val OptInt) {
s.Coin = val

View File

@ -1174,6 +1174,12 @@ func (h *OgentHandler) CreateUe(ctx context.Context, req *CreateUeReq) (CreateUe
if v, ok := req.GameID.Get(); ok {
b.SetGameID(v)
}
if v, ok := req.GameStory.Get(); ok {
b.SetGameStory(v)
}
if v, ok := req.GameEp.Get(); ok {
b.SetGameEp(v)
}
// Add all edges.
//b.SetOwnerID(req.Owner)
@ -1303,6 +1309,13 @@ func (h *OgentHandler) UpdateUe(ctx context.Context, req *UpdateUeReq, params Up
if v, ok := req.GameID.Get(); ok {
b.SetGameID(v)
}
if v, ok := req.GameStory.Get(); ok {
b.SetGameStory(v)
}
if v, ok := req.GameEp.Get(); ok {
b.SetGameEp(v)
}
// Add all edges.
//if v, ok := req.Owner.Get(); ok {
// b.SetOwnerID(v)
@ -1585,6 +1598,12 @@ func (h *OgentHandler) CreateUser(ctx context.Context, req *CreateUserReq) (Crea
if v, ok := req.GameExp.Get(); ok {
b.SetGameExp(v)
}
if v, ok := req.GameStory.Get(); ok {
b.SetGameStory(v)
}
if v, ok := req.GameLimit.Get(); ok {
b.SetGameLimit(v)
}
if v, ok := req.Coin.Get(); ok {
b.SetCoin(v)
}
@ -1797,6 +1816,12 @@ func (h *OgentHandler) UpdateUser(ctx context.Context, req *UpdateUserReq, param
if v, ok := req.GameExp.Get(); ok {
b.SetGameExp(v)
}
if v, ok := req.GameStory.Get(); ok {
b.SetGameStory(v)
}
if v, ok := req.GameLimit.Get(); ok {
b.SetGameLimit(v)
}
if v, ok := req.Coin.Get(); ok {
b.SetCoin(v)
}

View File

@ -196,6 +196,8 @@ func NewCardOwnerRead(e *ent.User) *CardOwnerRead {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -384,6 +386,8 @@ func NewGroupUsersList(e *ent.User) *GroupUsersList {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -652,6 +656,8 @@ func NewMaOwnerRead(e *ent.User) *MaOwnerRead {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -876,6 +882,8 @@ func NewSevOwnerRead(e *ent.User) *SevOwnerRead {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -925,6 +933,8 @@ func NewUeCreate(e *ent.Ue) *UeCreate {
ret.GameLv = NewOptString(e.GameLv)
ret.GameExp = NewOptString(e.GameExp)
ret.GameID = NewOptString(e.GameID)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameEp = NewOptString(e.GameEp)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
}
@ -972,6 +982,8 @@ func NewUeList(e *ent.Ue) *UeList {
ret.GameLv = NewOptString(e.GameLv)
ret.GameExp = NewOptString(e.GameExp)
ret.GameID = NewOptString(e.GameID)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameEp = NewOptString(e.GameEp)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
}
@ -1019,6 +1031,8 @@ func NewUeRead(e *ent.Ue) *UeRead {
ret.GameLv = NewOptString(e.GameLv)
ret.GameExp = NewOptString(e.GameExp)
ret.GameID = NewOptString(e.GameID)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameEp = NewOptString(e.GameEp)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
}
@ -1066,6 +1080,8 @@ func NewUeUpdate(e *ent.Ue) *UeUpdate {
ret.GameLv = NewOptString(e.GameLv)
ret.GameExp = NewOptString(e.GameExp)
ret.GameID = NewOptString(e.GameID)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameEp = NewOptString(e.GameEp)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
}
@ -1140,6 +1156,8 @@ func NewUeOwnerRead(e *ent.User) *UeOwnerRead {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -1216,6 +1234,8 @@ func NewUserCreate(e *ent.User) *UserCreate {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -1292,6 +1312,8 @@ func NewUserList(e *ent.User) *UserList {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -1368,6 +1390,8 @@ func NewUserRead(e *ent.User) *UserRead {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -1444,6 +1468,8 @@ func NewUserUpdate(e *ent.User) *UserUpdate {
ret.GameAccount = NewOptBool(e.GameAccount)
ret.GameLv = NewOptInt(e.GameLv)
ret.GameExp = NewOptInt(e.GameExp)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameLimit = NewOptBool(e.GameLimit)
ret.Coin = NewOptInt(e.Coin)
ret.CoinOpen = NewOptBool(e.CoinOpen)
ret.CoinAt = NewOptDateTime(e.CoinAt)
@ -1613,6 +1639,8 @@ func NewUserUeList(e *ent.Ue) *UserUeList {
ret.GameLv = NewOptString(e.GameLv)
ret.GameExp = NewOptString(e.GameExp)
ret.GameID = NewOptString(e.GameID)
ret.GameStory = NewOptInt(e.GameStory)
ret.GameEp = NewOptString(e.GameEp)
ret.CreatedAt = NewOptDateTime(e.CreatedAt)
return &ret
}